PHP 7+ (7.2) Compatability
-
Hello, i tested this plugins compatibility with php 7.2 using the PHP compatibility check plugin and it appears there are several errors that would need to be addressed before we can use this on php 7. I’d be grateful if you could let me know if you plan to make the plugin compatible and if so roughly when. results were as follows:
FILE: /home/*/public_html/wp-content/plugins/social-networks-auto-poster-facebook-twitter-g/inc/nxs_class_flt.php
———————————————————————————————————————
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
———————————————————————————————————————
268 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
———————————————————————————————————————FILE: /home/*/public_html/wp-content/plugins/social-networks-auto-poster-facebook-twitter-g/inc/nxs_functions_adv.php
————————————————————————————————————————-
FOUND 1 ERROR AFFECTING 1 LINE
————————————————————————————————————————-
308 | ERROR | Using ‘break’ outside of a loop or switch structure is invalid and will throw a fatal error since PHP 7.0
————————————————————————————————————————-FILE: /home/*/public_html/wp-content/plugins/social-networks-auto-poster-facebook-twitter-g/inc/nxs_class_snap.php
———————————————————————————————————————————————————————————————
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
———————————————————————————————————————————————————————————————
160 | ERROR | Using ‘break’ outside of a loop or switch structure is invalid and will throw a fatal error since PHP 7.0
1107 | WARNING | The “result” parameter for function parse_str() is missing. Passing this parameter is no longer optional. The optional nature of the parameter is deprecated since PHP 7.2
———————————————————————————————————————————————————————————————FILE: /home/*/public_html/wp-content/plugins/social-networks-auto-poster-facebook-twitter-g/inc/nxs_functions_engine.php
—————————————————————————————————————————-
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
—————————————————————————————————————————-
209 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
—————————————————————————————————————————-FILE: /home/*/public_html/wp-content/plugins/social-networks-auto-poster-facebook-twitter-g/inc/nxs_functions.php
———————————————————————————————————————
FOUND 2 ERRORS AND 1 WARNING AFFECTING 3 LINES
———————————————————————————————————————
30 | ERROR | preg_replace() – /e modifier is deprecated since PHP 5.5 and removed since PHP 7.0
31 | ERROR | preg_replace() – /e modifier is deprecated since PHP 5.5 and removed since PHP 7.0
80 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
———————————————————————————————————————FILE: /home/*/public_html/wp-content/plugins/social-networks-auto-poster-facebook-twitter-g/inc-cl/st.api.php
—————————————————————————————————————–
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
—————————————————————————————————————–
82 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
—————————————————————————————————————–FILE: /home/*/public_html/wp-content/plugins/social-networks-auto-poster-facebook-twitter-g/inc-cl/vk.api.php
—————————————————————————————————————–
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
—————————————————————————————————————–
28 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
—————————————————————————————————————–FILE: /home/*/public_html/wp-content/plugins/social-networks-auto-poster-facebook-twitter-g/inc-cl/fl.api.php
—————————————————————————————————————–
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
—————————————————————————————————————–
40 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
—————————————————————————————————————–FILE: /home/*/public_html/wp-content/plugins/social-networks-auto-poster-facebook-twitter-g/inc-cl/fp.api.php
—————————————————————————————————————–
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
—————————————————————————————————————–
46 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
—————————————————————————————————————–
- The topic ‘PHP 7+ (7.2) Compatability’ is closed to new replies.