• Resolved Samuel

    (@martdsam)


    This error happens when I try to open the search console menu on yoast SEO.

    Wordpress: 4.9.8
    Yoast SEO: 8.2

    On the local server it works fine, but on the LIVE server it gives this problem.

    Uncaught Error: Class ‘Yoast_Google_WPCache’ not found in /home/u683693420/public_html/nb-plugins/wordpress-seo/vendor/yoast/api-libs/google/Google_Client.php:90 Stack trace: #0 /home/u683693420/public_html/nb-plugins/wordpress-seo/vendor/yoast/api-libs/class-api-google-client.php(36): Yoast_Google_Client->__construct() #1 /home/u683693420/public_html/nb-plugins/wordpress-seo/admin/google_search_console/class-gsc-service.php(162): Yoast_Api_Google_Client->__construct(Array, ‘wpseo-gsc’, ‘https://www.goo…’) #2 /home/u683693420/public_html/nb-plugins/wordpress-seo/admin/google_search_console/class-gsc-service.php(31): WPSEO_GSC_Service->set_client() #3 /home/u683693420/public_html/nb-plugins/wordpress-seo/admin/google_search_console/class-gsc.php(274): WPSEO_GSC_Service->__construct(‘https://martine…’) #4 /home/u683693420/public_html/nb-plugins/wordpress-seo/admin/google_search_console/class-gsc.php(64): WPSEO_GSC->set_dependencies() #5 /home/u683693420/public_html/wp-includes/class-wp-hook.php(286): WPSEO_ in /home/u683693420/public_html/nb-plugins/wordpress-seo/vendor/yoast/api-libs/google/Google_Client.php on line 90

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Michael Tiña

    (@mikes41720)

    That sounds like a plugin or theme conflict. Can you try and gather as much information for us as possible? Please perform the following:

    1. Make sure the issue doesn’t persist when Yoast SEO is disabled.
    2. Check for conflicts.
    3. Check for JavaScript errors with your console.

    If you find any JavaScript errors related to Yoast SEO or if there is a conflict with a plugin or a theme, you can create a new GitHub issue for our developers. Please report the issue to a third party developer as well.

    If you didn’t find any conflicts or errors, we think the issue is specific to your site. We’d need to investigate further but are unable to do so on these forums. You can purchase Yoast SEO Premium and receive our Premium email support and we can help you further.

    • This reply was modified 7 years, 10 months ago by Michael Tiña.
    Thread Starter Samuel

    (@martdsam)

    @mikes41720
    1 – If the plugin is disabled I can not test the problem, as it only happens with the search console option of yoast.
    2 – It is not a conflict with plugin, because in my localhost I have the same active plugins and the error does not happen.
    3 – Do not have javascript error, just the PHP error as I showed earlier.
    4 – The only difference between my localhost and the online site is that the online site is HTTPS.

    The same site a long time ago did not give this problem, as I set up the whole search console by yoast.Porém do not know from which version of yoast this problem started to happen.

    Thread Starter Samuel

    (@martdsam)

    I found. In my .gitignore you have the option to bypass the cache folder. I put it to ignore all but have some cache folder which are permanent of the plugins. So I left this ignore only to the cache plugin and everything worked.

    Sorry for the inconvenience. Thank you for your attention.

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

The topic ‘Yoast_Google_WPCache’ is closed to new replies.