• Resolved muhammedswalihct

    (@muhammedswalihct)


    I just updated the AMP WordPress plugin to the latest version published few minutes ago. It is showing this error.

    Fatal error: Cannot make static method AMP_Customizer_Design_Settings::register_customizer_ui() non static in class AMPFORWP_Customizer_Design_Contols in /home/example/public_html/wp-content/plugins/accelerated-mobile-pages/templates/customizer/customizer.php on line 0

    The entire site is inaccessible. So, hope you fix it soon.

Viewing 15 replies - 1 through 15 (of 21 total)
  • I can confirm the same happening to one of my sites. Whole site went down showing Error 500 .

    2017/08/05 05:33:03 [error] 20393#0: *24700 FastCGI sent in stderr: "PHP message: PHP 
    Fatal error:  Cannot make static method AMP_Customizer_Design_Settings::register_customizer_ui() non static in class AMPFORWP_Customizer_Design_Contols in /var/www/xyz.in/htdocs/wp-content/plugins/accelerated-mobile-page/templates/customizer/customizer.php on line 217" while reading response header from upstream, client: 47.11.12.49, server: resultreport.in, request: "GET /west-bengal-group-d-result/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "www.resultreport.in", referrer: " 

    i also have similar problem after updating AMP plugin.
    I cannot access wordpress admin but also the site too.

    error is below;
    Fatal error: Cannot make static method AMP_Customizer_Design_Settings::register_customizer_ui() non static in class AMPFORWP_Customizer_Design_Contols in /home/nomadindo/trend-news-to-you.com/public_html/wp-content/plugins/accelerated-mobile-pages/templates/customizer/customizer.php on line 0

    please tell solution and strongly hope fix it soon.

    I have the same problem.

    Hueman Theme
    WP 4.8.1

    I delete the updated version, and replace the older. It solved the problem.

    Same problem here

    Same here! Please show the way to fix this.

    • This reply was modified 7 years, 3 months ago by KeriCromwell.

    For a temporary fix go to accelerated-mobile-pages/templates/customizer/customizer.php and change line 44 from

    “public function register_customizer_ui( $wp_customize )”
    to
    “public static function register_customizer_ui( $wp_customize )”.

    I am not connected to the development team. So I not sure when will the real fix come in.

    Thread Starter muhammedswalihct

    (@muhammedswalihct)

    Or you can also revert to the previous version until the new fix comes.

    i have the same problem

    Jaime

    (@wilfredo1234)

    The same I just deactivated the current version and return to the previous version

    I can confirm the same happening to one of my sites. Whole site went down showing Error 500.

    I have the same problem. @agk4444’s proposal works well, thanks

    Same problem. My site doesn’t work!

    Same problem. Renamed the folder to disable the plugin

    The fix from @agk4444 works great. Thankyou sir.

    Great job @agk4444 Faster than the development team support theme!

    The issue (I think) is with another plugin, not the Automattic one.

    See here: https://www.ads-software.com/support/topic/i-have-updated-the-amp-plugin-and-the-plugin-is-corrupted/

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘New Version Showing Fatal Error’ is closed to new replies.