Title: Error Customizer php 8
Last modified: June 3, 2021

---

# Error Customizer php 8

 *  [Yworld](https://wordpress.org/support/users/yworld/)
 * (@yworld)
 * [5 years ago](https://wordpress.org/support/topic/error-customizer-php-8/)
 * Thanks for the great plugin!
    Error navigating to Customizer (php 8)
 *     ```
       Fatal error: Uncaught Error: call_user_func_array(): Argument #1 ($function) 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 292
   
       Call stack:
   
       WP_Hook::apply_filters()
       wp-includes/class-wp-hook.php:316
       WP_Hook::do_action()
       wp-includes/plugin.php:484
       do_action()
       wp-content/plugins/accelerated-mobile-pages/includes/vendor/amp/includes/admin/class-amp-customizer.php:121
       AMPforWP\A\AMP_Template_Customizer::register_ui()
       wp-content/plugins/accelerated-mobile-pages/includes/vendor/amp/includes/admin/class-amp-customizer.php:58
       AMPforWP\A\AMP_Template_Customizer::init()
       wp-includes/class-wp-hook.php:292
       WP_Hook::apply_filters()
       wp-includes/class-wp-hook.php:316
       WP_Hook::do_action()
       wp-includes/plugin.php:484
       do_action()
       wp-includes/class-wp-customize-manager.php:933
       WP_Customize_Manager::wp_loaded()
       wp-includes/class-wp-hook.php:292
       WP_Hook::apply_filters()
       wp-includes/class-wp-hook.php:316
       WP_Hook::do_action()
       wp-includes/plugin.php:484
       do_action()
       wp-settings.php:582
       require_once()
       wp-config.php:101
       require_once()
       wp-load.php:37
       require_once()
       wp-admin/admin.php:34
       require_once()
       wp-admin/customize.php:13
       ```
   

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * (@ahmedkaludi)
 * [5 years ago](https://wordpress.org/support/topic/error-customizer-php-8/#post-14526522)
 * It’s a valid one. For this, we have created a GitHub ticket in our repository.
   Our developer will work on this and push it in the next update.
 * For reference you can follow the following ticket:
    [https://github.com/ahmedkaludi/accelerated-mobile-pages/issues/5054](https://github.com/ahmedkaludi/accelerated-mobile-pages/issues/5054)
 *  Thread Starter [Yworld](https://wordpress.org/support/users/yworld/)
 * (@yworld)
 * [5 years ago](https://wordpress.org/support/topic/error-customizer-php-8/#post-14526528)
 * Thank you!
 *  Plugin Author [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * (@ahmedkaludi)
 * [5 years ago](https://wordpress.org/support/topic/error-customizer-php-8/#post-14531937)
 * I have checked this error with some of the famous free WordPress themes and also
   the paid themes but I did not get any error as you have mentioned and for more
   debugging will you please tell me the name of the theme which you are using so
   that I can check with that theme and fix it
 *  Thread Starter [Yworld](https://wordpress.org/support/users/yworld/)
 * (@yworld)
 * [5 years ago](https://wordpress.org/support/topic/error-customizer-php-8/#post-14531956)
 * The topic is not in the public domain. Ok, I’ll think about a solution.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Error Customizer php 8’ is closed to new replies.

 * ![](https://ps.w.org/accelerated-mobile-pages/assets/icon-256x256.png?rev=1693616)
 * [AMP for WP - Accelerated Mobile Pages](https://wordpress.org/plugins/accelerated-mobile-pages/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/accelerated-mobile-pages/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/accelerated-mobile-pages/)
 * [Active Topics](https://wordpress.org/support/plugin/accelerated-mobile-pages/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/accelerated-mobile-pages/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/accelerated-mobile-pages/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Yworld](https://wordpress.org/support/users/yworld/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/error-customizer-php-8/#post-14531956)
 * Status: not resolved