prfryer27
Forum Replies Created
-
I’m also not convinced that the opcache fix is relevant, I believe that load_comments is not even an option, save-comments is the closest I can find and these are on by default as turning them off breaks quite a few frameworks.
https://www.php.net/manual/en/opcache.configuration.php#ini.opcache.save-comments
@kubitomakita thank you for the comment. Is it possible to get an understanding of the timeline? We all appreciate the hard work you have put into this but it’s rapidly becoming unusable for people as we all move to the latest versions of PHP.
Thank you so much for your hard work!
Unfortunately I think the original author has abandoned the project now due to the lack of updates, as it’s not been certified for 3 major releases even the WordPress plugin site is showing it as probably abandoned.
I have the same challenge:
I’m using Nginx though but this looks to be a PHP 8+ issue due to the change highlighted on the manual page (https://www.php.net/manual/en/function.call-user-func-array.php), “args keys will now be interpreted as parameter names, instead of being silently ignored.”
FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, first array member is not a valid class name or object in /var/www/html/wp-includes/class-wp-hook.php:308 Stack trace: #0 /var/www/html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #1 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action() #2 /var/www/html/wp-content/plugins/easy-watermark-back/src/classes/Settings/Section.php(55): do_action() #3 /var/www/html/wp-content/plugins/easy-watermark-back/src/classes/Backup/Manager.php(69): EasyWatermark\Settings\Section->__construct() #4 /var/www/html/wp-includes/class-wp-hook.php(308): EasyWatermark\Backup\Manager->register_settings_section() #5 /var/www/html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #6 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action() #7 /var/www/html/wp-content/plugins/easy-watermark-back/src/classes/Settings/Settings.php(60): do_action() #8 /var/www/html/wp-cont” while reading response header from upstream
I’ve not had time to dig into this but I suspect that the section construct $this object the problem.