PHP 7.2.

67 views
Skip to first unread message

Courtney Remes

unread,
Nov 21, 2018, 5:57:35 PM11/21/18
to Magic Fields
Hello,

I was using WP Engine's PHP Compatibility Checker and found that the Magic Fields plugin has a few errors.  Do you have any plans to fix these for the upcoming PHP 7.2. switch? 


FILE: /nas/content/live/apold/wp-content/plugins/magic-fields/RCCWP_upload_ajax.php
---------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
---------------------------------------------------------------------------------------------
 97 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
---------------------------------------------------------------------------------------------


FILE: /nas/content/live/apold/wp-content/plugins/magic-fields/RCCWP_WritePostPage.php
-----------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------------------
 332 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
-----------------------------------------------------------------------------------------------------------


FILE: /nas/content/live/apold/wp-content/plugins/magic-fields/RCCWP_Application.php
-----------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
-----------------------------------------------------------------------------------------------------------
 15 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
 16 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
 23 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
-----------------------------------------------------------------------------------------------------------


FILE: /nas/content/live/apold/wp-content/plugins/magic-fields/PanelFields.php
---------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
---------------------------------------------------------------------------------------------
 15 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
---------------------------------------------------------------------------------------------


FILE: /nas/content/live/apold/wp-content/plugins/magic-fields/MF_thumb.php
---------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
---------------------------------------------------------------------------------------------
 14 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
---------------------------------------------------------------------------------------------


FILE: /nas/content/live/apold/wp-content/plugins/magic-fields/modules/shortcodes.php
---------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
---------------------------------------------------------------------------------------------------------------
 34 | ERROR | Function split() is deprecated since PHP 5.3 and removed since PHP 7.0; Use preg_split() instead
---------------------------------------------------------------------------------------------------------------



Thanks!
Reply all
Reply to author
Forward
0 new messages