Tagged: enfold, error, fatal error
-
AuthorPosts
-
March 16, 2022 at 11:38 pm #1344808
Every time I log into the wp- admin i get an automated email from wordpress saying i have a fatal error on my site.
In this case, WordPress caught an error with your theme, Enfold.
When seeking help with this issue, you may be asked for some of the following information:
WordPress version 5.9.2
Current theme: Enfold (version 4.9)
Current plugin: (version )
PHP version 8.0.16Error Details
=============
An error of type E_ERROR was caused in line 385 of the file /nas/content/live/clearcututah/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-post-css-management.php. Error message: Uncaught TypeError: aviaPostCssManagement::handler_wp_save_post(): Argument #2 ($post) must be of type WP_Post, null given, called in /nas/content/live/clearcututah/wp-includes/class-wp-hook.php on line 307 and defined in /nas/content/live/clearcututah/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-post-css-management.php:385
Stack trace:
#0 /nas/content/live/clearcututah/wp-includes/class-wp-hook.php(307): aviaPostCssManagement->handler_wp_save_post(0, NULL, false)
#1 /nas/content/live/clearcututah/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(true, Array)
#2 /nas/content/live/clearcututah/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
#3 /nas/content/live/clearcututah/wp-includes/post.php(4687): do_action(‘save_post’, 0, NULL, false)
#4 /nas/content/live/clearcututah/wp-admin/includes/post.php(700): wp_insert_post(Array, false, false)
#5 /nas/content/live/clearcututah/wp-admin/includes/dashboard.php(547): get_default_post_to_edit(‘post’, true)
#6 /nas/content/live/clearcututah/wp-admin/includes/template.php(1395): wp_dashboard_quick_press(”, Array)
#7 /nas/content/live/clearcututah/wp-admin/includes/dashboard.php(268): do_meta_boxes(Object(WP_Screen), ‘side’, ”)
#8 /nas/content/live/clearcututah/wp-admin/index.php(203): wp_dashboard()
#9 {main}
thrownMarch 17, 2022 at 10:36 am #1344840Hey levelseven,
Thanks for the login details. Does it make any difference if you deactivate all plugins? You could also try to use a different PHP version, to see if that changes anything. You could try 7.4 for example, if that is available. If you need further help, then please share server logs with us.
Best regards,
Rikard -
AuthorPosts
- You must be logged in to reply to this topic.