Replies: 0
We have a Dockerize setup of WordPress with Opcache, memchache and other server and page level caching for the performance of the website and sometime the Yoast SEO plugin when on server retarst or when we deploy the update it show this below error and it only get resolve after we clear the cache and then install the plugin again.
And this below error occurs with both whether yoast premium or yoast free version installed.
Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class “Yoast_Dynamic_Rewrites” not found in /var/www/html/wp-includes/class-wp-hook.php:324 Stack trace: #0 /var/www/html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #1 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #2 /var/www/html/wp-settings.php(575): do_action(‘setup_theme’) #3 /var/www/html/wp-config.php(99): require_once(‘/var/www/html/w…’) #4 /var/www/html/wp-load.php(50): require_once(‘/var/www/html/w…’) #5 /var/www/html/wp-blog-header.php(13): require_once(‘/var/www/html/w…’) #6 /var/www/html/index.php(17): require(‘/var/www/html/w..