Amp for WP Problems going from PHP 7.4 to PHP 8 or 8.1
-
Hi guys,
Love this plugin but we are having some issues going from PHP 7.4 to 8 or 8.1. Since PHP 7.4 is EOL very soon, we decided to upgrade. We got everything working but when we try to customizer for AMP, we get this error:
Fatal error: Uncaught Error: call_user_func_array(): Argument #1 ($callback) must be a valid callback, non-static method AMPforWP\AMPVendor\AMP_Customizer_Design_Settings::register_customizer_ui() cannot be called statically
in public_html/wp-includes/class-wp-hook.php on line 308Is there an easy fix for this? Does anyone else have this issue?
Thanks for letting me know!
The page I need help with: [log in to see the link]
- The topic ‘Amp for WP Problems going from PHP 7.4 to PHP 8 or 8.1’ is closed to new replies.