Skip to content
This repository has been archived by the owner on Mar 17, 2022. It is now read-only.

Uncaught Error: Call to undefined method WPSEO_Options #544

Closed
rdehoogen opened this issue Mar 9, 2021 · 1 comment
Closed

Uncaught Error: Call to undefined method WPSEO_Options #544

rdehoogen opened this issue Mar 9, 2021 · 1 comment

Comments

@rdehoogen
Copy link

Can you reproduce this issue on default Wordpress theme (eg Storefront)?

Can you reproduce this issue when all other plugins are disabled except WooCommerce, Polylang and Hyyan WooCommerce Polylang Integration?

What product versions and settings are you using when this issue occurs?

PHP: Version 7.4.15
WordPress: Version 5.6.2
WooCommerce: Version: 5.0.0
Polylang: [state if using Polylang PRO] Version 3.0
Hyyan WooCommerce Polylang Integration: Version 1.5.0
Browser: Chrome

Steps to Reproduce

  1. Start plugin and it crashes, deactivate in recovermode
  2. deacivate and uninstall Yoast SEO end again starting Polylang plugin and it crashes, deactivate in recovermode

What I Expected

Start website normally

What Happened Instead

Site is again in recoverymode

WordPress Environment

``` content/plugins/polylang/integrations/wpseo/wpseo.php. Uncaught Error: Call to undefined method WPSEO_Options::clear_cache() in /www/wp-content/plugins/polylang/integrations/wpseo/wpseo.php:87 Stack trace: #0 /www/wp-includes/class-wp-hook.php(287): PLL_WPSEO->wpseo_translate_options('') #1 /www/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #2 /www/wp-includes/plugin.php(484): WP_Hook->do_action(Array) #3 /www/wp-settings.php(579): do_action('wp_loaded') #4 /www/wp-config.php(78): require_once('/www/wp-setting...') #5 /www/wp-load.php(37): require_once('/www/wp-config....') #6 /www/wp-login.php(12): require('/www/wp-load.ph...') #7 {main} thrown```
@Jon007
Copy link
Contributor

Jon007 commented Mar 27, 2021

Hi, you didn't state the the Yoast version, and the error log shows the error in the polylang plugin not this plugin.
there were Polylang fixes in 16 March 2021 release of Yoast SEO 16.0 and both Polylang and Yoast have had recent updates and should now be working.
This plugin itself doesn't interact with WPSEO.

@Jon007 Jon007 closed this as completed Mar 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants