Site is down after upgrade to version 10.4

Posted in: Newspaper
Post count: 7

We updated the theme to the latest version, now the site is down.
This is the error in the server error.log

PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function {closure}(), 4 passed in /srv/xxx.com/wordpress/wp-includes/class-wp-hook.php on line 287 and exactly 5 expected in /srv/xxx.com/wordpress/wp-content/plugins/td-composer/css-analyze/css-analyze.php:507\nStack tra
ce:\n#0 /srv/xxx.com/wordpress/wp-includes/class-wp-hook.php(287): {closure}(NULL, 38, ‘tdc_google_font…’, true)\n#1 /srv/xxx.com/wordpress/wp-includes/plugin.php(206): WP_
Hook->apply_filters(NULL, Array)\n#2 /srv/xxx.com/wordpress/wp-includes/meta.php(676): apply_filters(‘get_post_metada…’, NULL, 38, ‘tdc_google_font…’, true)\n#3 /srv/dev/kriptoakademia.
com/wordpress/wp-content/plugins/td-composer/legacy/common/wp_booster/td_wp_booster_functions.php(572): metadata_exists(‘post’, 38, ‘tdc_google_font…’)\n#4 /srv/xxx.com/wordpress/wp-inclu
des/class-wp-hook.php(287): td_load_css_fonts(”)\n#5 /srv/xxx.com/wordpress/wp-includes/class-wp-hook. in /srv/xxx.com/wordpress/wp-content/plugins/td-composer/css-analyze/c
ss-analyze.php on line 507

Thank you for your help.

Post count: 27744

Hi,

Please update the WordPress to 5.7.1 and check to see if the problem is still persisting.
Hope this will fix the problem that you have!

Let me know the results!

Thank you!

Post count: 7

Thank you, it solved the issue but now I have another one.

When I tried to add a text block with title to my page and I tried to edit the content I cannot edit the text in the popup and I have the following error in my server log:
Uncaught Error: Call to undefined function schema_wp_is_admin_page() in /srv/dev/kriptoakademia.co
m/wordpress/wp-content/plugins/schema/includes/admin/settings/register-settings.php:1668\nStack trace:\n#0 /srv/xxx.com/wordpress/wp-includes/class-wp-hook.php(292): schema_wp_admin_footer_
scripts(”)\n#1 /srv/xxx.com/wordpress/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array)\n#2 /srv/xxx.com/wordpress/wp-includes/plugin.php(484): WP_Hook
->do_action(Array)\n#3 /srv/xxx.com/wordpress/wp-content/plugins/td-composer/includes/wpeditor.php(404): do_action(‘admin_print_foo…’)\n#4 {main}\n thrown in /srv/xxx.com/
wordpress/wp-content/plugins/schema/includes/admin/settings/register-settings.php on line 1668

Post count: 27744

Hi,

For this problem, please make sure you have set the theme requirements as in our guide -> https://forum.tagdiv.com/requirements-for-newspaper/

Thank you!

Post count: 7

I checked everything and Newspaper system status page shows green for all options on the WP admin.
Do you have any idea how we can solve the issue?
thank you

Post count: 27744

Hello,

Please check if this requirement is set in .htaccess => https://www.screencast.com/t/D3i2ZA7K
Also, if you use Cloudflare, please make sure that is set as in our guide https://forum.tagdiv.com/cloudflare-cdn/, you need to disable the Rocket Loader and see if the problem persists.
Also, if the problem persists this can be from some extra plugins, so please does a test using only tagDiv plugins, and if you have a child theme, please use the main theme and clear all cache(also from your browser).

Hope this helps you!

Thank you!

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newspaper’ is closed to new topics and replies.