PHP7.2 Compatibility Problems
-
One for WPGReady and the other developers if they’re still around. There are a few problems that people will face if they use the plugin with PHP7.2 installed. Most of these issues are deprecated features and so the errors could in theory just be hidden, but it’s always better to make sure they’re fixed.
From the latest PHP Compatibility plugin.
FILE: /../wp-content/plugins/nextcellent-gallery-nextgen-legacy/admin/class-ngg-album-manager.php
——————————————————————————————————————————————————————————————–
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
——————————————————————————————————————————————————————————————–
101 | 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: /../wp-content/plugins/nextcellent-gallery-nextgen-legacy/admin/functions.php
—————————————————————————————————————
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
—————————————————————————————————————
1245 | WARNING | INI directive ‘safe_mode_gid’ is deprecated since PHP 5.3 and removed since PHP 5.4
—————————————————————————————————————FILE: /../wp-content/plugins/nextcellent-gallery-nextgen-legacy/lib/imagemagick.inc.php
——————————————————————————————————————-
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
——————————————————————————————————————-
103 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
——————————————————————————————————————-FILE: /../wp-content/plugins/nextcellent-gallery-nextgen-legacy/lib/meta.php
———————————————————————————————————–
FOUND 0 ERRORS AND 4 WARNINGS AFFECTING 4 LINES
———————————————————————————————————–
99 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
185 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
260 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
402 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
———————————————————————————————————–FILE: /../wp-content/plugins/nextcellent-gallery-nextgen-legacy/lib/ngg-db.php
————————————————————————————————————
FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
————————————————————————————————————
910 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
970 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
1018 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
————————————————————————————————————FILE: /../wp-content/plugins/nextcellent-gallery-nextgen-legacy/lib/swfobject.php
————————————————————————————————————-
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
————————————————————————————————————-
85 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
————————————————————————————————————-FILE: /../wp-content/plugins/nextcellent-gallery-nextgen-legacy/widgets/class-ngg-gallery-widget.php
——————————————————————————————————————————–
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
——————————————————————————————————————————–
252 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
——————————————————————————————————————————–FILE: /../wp-content/plugins/nextcellent-gallery-nextgen-legacy/widgets/class-ngg-media-rss-widget.php
———————————————————————————————————————————-
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
———————————————————————————————————————————-
133 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
———————————————————————————————————————————-FILE: /../wp-content/plugins/nextcellent-gallery-nextgen-legacy/widgets/class-ngg-slideshow-widget.php
———————————————————————————————————————————-
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
———————————————————————————————————————————-
175 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
———————————————————————————————————————————-FILE: /../wp-content/plugins/nextcellent-gallery-nextgen-legacy/nggallery.php
———————————————————————————————————–
FOUND 0 ERRORS AND 12 WARNINGS AFFECTING 12 LINES
———————————————————————————————————–
147 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
177 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
228 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
262 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
328 | WARNING | INI directive ‘safe_mode’ is deprecated since PHP 5.3 and removed since PHP 5.4
330 | WARNING | INI directive ‘safe_mode’ is deprecated since PHP 5.3 and removed since PHP 5.4
331 | WARNING | INI directive ‘safe_mode’ is deprecated since PHP 5.3 and removed since PHP 5.4
333 | WARNING | INI directive ‘safe_mode’ is deprecated since PHP 5.3 and removed since PHP 5.4
710 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
734 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
738 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
803 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
———————————————————————————————————–
- The topic ‘PHP7.2 Compatibility Problems’ is closed to new replies.