Critical error after update to 10.4

Posted in: Newspaper
Post count: 7

Hello,

I tried to update the Newspaper theme from 10.39.1 to 10.4 on a staging environment but WordPress responded with a critical error on the frontend. I deactivated all plugins except the composer and cloud gallery and the issue is still there. The staging is not public so I can’t post a URL.

No cache plugin active and the system status is alright. All requirements are good.

I tried only deactivating the composer and the issue was gone. Of course, the whole website wasn’t looking nice without it. According to the debugger the issue lies with the new CSS analyzer:

WordPress Debug Log (Staging)

#7 /home/wp/disk/wordpress_staging/wp-includes/script-loader.php(20 in /home/wp/disk/wordpress_staging/wp-content/plugins/td-composer/css-analyze/css-analyze.php on line 507
#6 /home/wp/disk/wordpress_staging/wp-includes/plugin.php(484): WP_Hook->do_action()
#5 /home/wp/disk/wordpress_staging/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters()
#4 /home/wp/disk/wordpress_staging/wp-includes/class-wp-hook.php(287): td_load_css_fonts()
#3 /home/wp/disk/wordpress_staging/wp-content/plugins/td-composer/legacy/common/wp_booster/td_wp_booster_functions.php(572): metadata_exists()
#2 /home/wp/disk/wordpress_staging/wp-includes/meta.php(676): apply_filters()
#1 /home/wp/disk/wordpress_staging/wp-includes/plugin.php(212): WP_Hook->apply_filters()
#0 /home/wp/disk/wordpress_staging/wp-includes/class-wp-hook.php(287): {closure}()
Stack trace:
[20-Apr-2021 15:10:36 UTC] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function {closure}(), 4 passed in /home/wp/disk/wordpress_staging/wp-includes/class-wp-hook.php on line 287 and exactly 5 expected in /home/wp/disk/wordpress_staging/wp-content/plugins/td-composer/css-analyze/css-analyze.php:507
#7 /home/wp/disk/wordpress_staging/wp-includes/script-loader.php(20 in /home/wp/disk/wordpress_staging/wp-content/plugins/td-composer/css-analyze/css-analyze.php on line 507
#6 /home/wp/disk/wordpress_staging/wp-includes/plugin.php(484): WP_Hook->do_action()
#5 /home/wp/disk/wordpress_staging/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters()
#4 /home/wp/disk/wordpress_staging/wp-includes/class-wp-hook.php(287): td_load_css_fonts()
#3 /home/wp/disk/wordpress_staging/wp-content/plugins/td-composer/legacy/common/wp_booster/td_wp_booster_functions.php(572): metadata_exists()
#2 /home/wp/disk/wordpress_staging/wp-includes/meta.php(676): apply_filters()
#1 /home/wp/disk/wordpress_staging/wp-includes/plugin.php(212): WP_Hook->apply_filters()
#0 /home/wp/disk/wordpress_staging/wp-includes/class-wp-hook.php(287): {closure}()
Stack trace:
[20-Apr-2021 15:10:35 UTC] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function {closure}(), 4 passed in /home/wp/disk/wordpress_staging/wp-includes/class-wp-hook.php on line 287 and exactly 5 expected in /home/wp/disk/wordpress_staging/wp-content/plugins/td-composer/css-analyze/css-analyze.php:507
#7 /home/wp/disk/wordpress_staging/wp-includes/script-loader.php(20 in /home/wp/disk/wordpress_staging/wp-content/plugins/td-composer/css-analyze/css-analyze.php on line 507
#6 /home/wp/disk/wordpress_staging/wp-includes/plugin.php(484): WP_Hook->do_action()
#5 /home/wp/disk/wordpress_staging/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters()
#4 /home/wp/disk/wordpress_staging/wp-includes/class-wp-hook.php(287): td_load_css_fonts()
#3 /home/wp/disk/wordpress_staging/wp-content/plugins/td-composer/legacy/common/wp_booster/td_wp_booster_functions.php(572): metadata_exists()
#2 /home/wp/disk/wordpress_staging/wp-includes/meta.php(676): apply_filters()
#1 /home/wp/disk/wordpress_staging/wp-includes/plugin.php(212): WP_Hook->apply_filters()
#0 /home/wp/disk/wordpress_staging/wp-includes/class-wp-hook.php(287): {closure}()
Stack trace:
[20-Apr-2021 15:10:16 UTC] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function {closure}(), 4 passed in /home/wp/disk/wordpress_staging/wp-includes/class-wp-hook.php on line 287 and exactly 5 expected in /home/wp/disk/wordpress_staging/wp-content/plugins/td-composer/css-analyze/css-analyze.php:507
#7 /home/wp/disk/wordpress_staging/wp-includes/script-loader.php(20 in /home/wp/disk/wordpress_staging/wp-content/plugins/td-composer/css-analyze/css-analyze.php on line 507
#6 /home/wp/disk/wordpress_staging/wp-includes/plugin.php(484): WP_Hook->do_action()
#5 /home/wp/disk/wordpress_staging/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters()
#4 /home/wp/disk/wordpress_staging/wp-includes/class-wp-hook.php(287): td_load_css_fonts()

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, I didn’t notice the WordPress version was fixed. An update helped a lot!

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