Conflict with PHP 8.0
-
Hello! I’ve just started managing a site for a client that I didn’t build, and when trying to upgrade from PHP 7.4 to PHP 8.0, I’m getting a critical error, and when checking the logs, all the errors are coming from your plugin as follows:
PHP Fatal error: Uncaught Error: Call to undefined function create_function() in /nas/content/live/lundeenscu4dev/wp-content/plugins/photo-gallery/photo-gallery.php:636
Any thoughts how to fix this? I’m running the latest version of WordPress and the plugin version is 2.2.36. All other software, themes, plugins are up to date. I have already tried reverting to the default wordpress theme to ensure it’s not a theme conflict as well, the error still persists. When I revert to PHP 7.4 the error is gone.
- The topic ‘Conflict with PHP 8.0’ is closed to new replies.