• Resolved beatom

    (@beatom)


    Dear Yoast Seo Team,

    after my last update to 10.0 I got some problems.
    I deactivated seo plugins and now I would like to active it again. Unfortunately I have a fatal error info and cant active the plugin.

    Fatal error: Uncaught Error: Class ‘WPSEO_Capability_Manager_Factory’ not found in /home//public_html/../wp-content/plugins/wordpress-seo/admin/capabilities/class-register-capabilities.php:32 Stack trace: #0 /…/wp-includes/class-wp-hook.php(286): WPSEO_Register_Capabilities->register(”) #1 /home…/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array) #2 …/wp-includes/plugin.php(465): WP_Hook->do_action(Array) #3 /…/wp-content/plugins/wordpress-seo/wp-seo-main.php(196): do_action(‘wpseo_register_…’) #4 /…/wp-content/plugins/wordpress-seo/wp-seo-main.php(116): _wpseo_activate() #5 …/wp-includes/class-wp-hook.php(286): wpseo_activate(”) #6 /…/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, in /home/…/wp-content/plugins/wordpress-seo/admin/capabilities/class-register-capabilities.php on line 32

    Pleas help me to solve this problem.

    Thanks a lot
    Beata

Viewing 7 replies - 16 through 22 (of 22 total)
  • It’s something like this – https://www.inmotionhosting.com/support/website/stats-logging/how-to-view-cpanel-error-logs#php_errors. You should check with your server provider for more details.

    I highly recommend to you update PHP to 7.2 or 7.3. Maybe first to 7.2 and if everything works then to 7.3. You can look https://ww.wp.xz.cn/about/requirements/

    It’s possible that nonce are cached somehow and logout/login could refresh nonce. If it still doesn’t work then you could try different browser.

    Thread Starter beatom

    (@beatom)

    @stodorovic
    do you mean I should deactive woocommers than remove and again install?

    Yes, but don’t uninstall it (on dashboard) because you can loose some settings. You can deactivate woocommerce, remove woocommerce directory from plugins via FTP, upload fresh version via FTP and activate again.

    After this, you should try to clear browser cache and logout/login to reset WP nonces (if they are cached).

    PS. I see your other post – https://ww.wp.xz.cn/support/topic/warning-call_user_func_array-on-line-286/. We could move discussions there because Yoast SEO issue is fixed.

    Thread Starter beatom

    (@beatom)

    wrr I did from panel, I deactiveted, than removed and install again via panel 🙁
    Still the same problem.
    I will try again via FTP

    Thread Starter beatom

    (@beatom)

    @stodorovic
    I marked it as solved (now I can no change the status).. but it is not.
    So I reinstall manually via FTP woocommerce, clean the cache, but still I can not access the settings from Yoast seo and woocommerce.
    What can I do more?
    My FTP now is 7.2

    I’ve again checked your website (sorry for little delay). It seems that all plugins are activated. I see 404 error for sitemaps which could be fixed if you go to Dashboard → Settings → Permalinks → just click to “Save“. More details – https://kb.yoast.com/kb/my-sitemap-is-giving-a-404-error-what-should-i-do/#permalink.

    While I check all details, I’ve seen an issue related to page-sitemap.xml and no-indexed WooCommerce pages. You should set no-index for my-account, cart and checkout pages. More details – https://ww.wp.xz.cn/support/topic/woocommerce-cart-and-account-page-in-sitemap/.

    Did you find PHP error log? If you found it, are there some errors?

    It’s weird issue. Did you install plugin “Health Check & Troubleshooting”? It’s possible that “Enable troubleshooting” is enabled (I think that isn’t installed). Also, it’s possible that’s browser cache, but wp-admin shouldn’t be cached (it’s possible that some rules forces leverage browser caching for wp-admin). Did you try to delete browser cache or change browser?

    At the front-end, I don’t see anything strange (except sitemaps).

    Thread Starter beatom

    (@beatom)

    @stodorovic
    Thanks for checking my side.
    Woocommerce issue is fix now.
    I think I could also fix sitemaps, just doing as you wrote with permalinks.
    I still have to no-indexed woocommerce pages. I am wondering if yoast seo premium solve it?
    I will inform myself and decide if I need yoast seo for woocommerce or yoast seo premium.

    Thanks a lot for helping. All looks good now:)

Viewing 7 replies - 16 through 22 (of 22 total)

The topic ‘Uncaught Error: Class ‘WPSEO_Capability_Manager_Factory’’ is closed to new replies.