• Resolved mattf10

    (@mattf10)


    This has already been reported: https://www.ads-software.com/support/topic/fatal-error-by-yoast-when-in-customizer/

    That ticket is marked as resolved, but the problem still exists. Click on Customizer causes 500 error:

    PHP Fatal error:  Uncaught Error: Call to undefined function get_plugins() in /wp-content/plugins/wordpress-seo/inc/class-addon-manager.php:384
    Stack trace:
    #0 /wp-content/plugins/wordpress-seo/inc/class-addon-manager.php(298): WPSEO_Addon_Manager->get_plugins()
    #1 /wp-content/plugins/wordpress-seo/inc/class-addon-manager.php(420): WPSEO_Addon_Manager->get_installed_addons()
    #2 /wp-content/plugins/wordpress-seo/inc/class-addon-manager.php(495): WPSEO_Addon_Manager->has_installed_addons()
    #3 /wp-content/plugins/wordpress-seo/inc/class-addon-manager.php(100): WPSEO_Addon_Manager->get_site_information()
    #4 /wp-content/plugins/wordpress-seo/inc/class-addon-manager.php(111): WPSEO_Ad" while reading response header from upstream, client: , server: , request: "GET /wp-admin/customize.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php7.3-fpm.sock:", host: "", referrer: "/wp-admin/admin.php?page=wpseo_titles"

    I followed the instructions in the last comment from the above support ticket (commented out section starting line 150) and the customizer now works.

    • This topic was modified 4 years, 10 months ago by mattf10.

    The page I need help with: [log in to see the link]

  • The topic ‘Fatal Error with Yoast’ is closed to new replies.