• PHP Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Class ‘WPSEO_Meta’ not found in

    web/app/mu-plugins/sassy-social-share/public/class-sassy-social-share-public.php:935

    ON plugin page there is no Update button and clicking tabs does not do anything.

    Perhaps it wasn’t meant to be used as a MU plugin? Or as part of a Bedrock & Sage ? But I do have it working on one similar install so that is quite weird.

    Any tips appreciated! It happens when I install via composer in a mu-plugins directory.

    • This topic was modified 6 years, 9 months ago by trainoasis.
    • This topic was modified 6 years, 9 months ago by trainoasis.

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Heateor Support

    (@heateor)

    At the line where you are getting the error, plugin checks if Yoast SEO plugin is active before using the WPSEO_Meta class. So, there seems some problem with the way you have installed the plugin.

    Thread Starter trainoasis

    (@trainoasis)

    So Yoast SEO needs to be active at the time time, surely not?

    Plugin Author Heateor Support

    (@heateor)

    I mean plugin checks if that class WPSEO_Meta is defined anywhere in the code before using that. I am unable to replicate this issue at my test environment. You shouldn’t be getting this error, if you have installed the plugin right.

    Thread Starter trainoasis

    (@trainoasis)

    Thanks will check into that, but am not sure why the install should be a problem, unless the plugin does not work as a MU plugin?

    Thread Starter trainoasis

    (@trainoasis)

    Also, the error I’m seeing is from wps (Whoops error handler):

    `Whoops \ Exception \ ErrorException (E_NOTICE)
    Undefined index: horizontal_bg_color_default`

    in

    …/web/app/mu-plugins/sassy-social-share/public/class-sassy-social-share-public.php1881

    • This reply was modified 6 years, 9 months ago by trainoasis.
    Thread Starter trainoasis

    (@trainoasis)

    Additional info: https://roots.io/bedrock/docs/bedrock-compatibility/

    Did you try to install the plugin on a clean bedrock install as a MU dependency?

    It throws this:

    PHP Fatal error:  Uncaught Error: Call to undefined function wp_get_current_user() in /home/servername/public$
    Stack trace:
    #0 /home/servername/public_html/mywebsite/web/app/mu-plugins/sassy-social-share/sassy-social-share.php(145): current_user_can('$
    #1 /home/servername/public_html/mywebsite/web/wp/wp-includes/class-wp-hook.php(286): heateor_sss_activate_plugin('')
    #2 /home/servername/public_html/mywebsite/web/wp/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
    #3 /home/servername/public_html/mywebsite/web/wp/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
    #4 /home/servername/public_html/mywebsite/web/app/mu-plugins/bedrock-autoloader.php(157): do_action('activate_sassy-...')
    #5 /home/servername/public_html/mywebsite/web/app/mu-plugins/bedrock-autoloader.php(80): Roots\Bedrock\Autoloader->pluginHooks()
    #6 /home/servername/public_html/mywebsite/web/app/mu-plugins/bedrock- in /home/servername/public_html/mywebsite/web/wp/w$
    • This reply was modified 6 years, 9 months ago by trainoasis.
    Plugin Author Heateor Support

    (@heateor)

    @trainoasis, Sorry, I have not checked the compatibility with BedRock yet. Will do and keep you posted here.

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

The topic ‘Fatal error: Class WPSEO_Meta not found’ is closed to new replies.