-
AuthorPosts
-
August 2, 2021 at 3:19 pm #1313946
Hi there,
after updating the theme (to ver. 4.8.4 | 4.8.5 | 4.8.6), I get this error message in the backend on page: “https://www.DOMAIN-NAME.de/wp-admin/admin.php?page=avia”. The “WP-Error-Email” to this error has the following content:WordPress-Version 5.8
Aktuelles Theme: ChildTheme of Enfold (Version 1.0.0)
Aktuelles Plugin: (Version )
PHP-Version 7.4.22Fehler-Details
==============
Ein Fehler vom Typ E_ERROR wurde in der Zeile 345 der Datei /var/www/vhosts/DOMAIN-NAME.de/httpdocs/wp-content/themes/RENAMED_ENFOLD_THEME_FOLDER/config-templatebuilder/avia-template-builder/php/class-post-css-management.php verursacht. Fehlermeldung: Uncaught TypeError: Argument 2 passed to aviaPostCssManagement::handler_wp_save_post() must be an instance of WP_Post, null given, called in /var/www/vhosts/DOMAIN-NAME.de/httpdocs/wp-includes/class-wp-hook.php on line 303 and defined in /var/www/vhosts/DOMAIN-NAME.de/httpdocs/wp-content/themes/RENAMED_ENFOLD_THEME_FOLDER/config-templatebuilder/avia-template-builder/php/class-post-css-management.php:345
Stack trace:- #0 /var/www/vhosts/DOMAIN-NAME.de/httpdocs/wp-includes/class-wp-hook.php(303): aviaPostCssManagement->handler_wp_save_post()
- #1 /var/www/vhosts/DOMAIN-NAME.de/httpdocs/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
- #2 /var/www/vhosts/DOMAIN-NAME.de/httpdocs/wp-includes/plugin.php(470): WP_Hook->do_action()
- #3 /var/www/vhosts/DOMAIN-NAME.de/httpdocs/wp-includes/post.php(4468): do_action()
- #4 /var/www/vhosts/DOMAIN-NAME.de/httpdocs/wp-content/themes/RENAMED_ENFOLD_THEME_FOLDER/framework/php/class-media.php(67): wp_insert_post()
- #5 /var/www/vhosts/DOMAIN-NAME.de/
The error also shows up, if all plugins are deactivated… So I had to switch back to ver. 4.8.3
I would like to update to the latest theme version, but I need some advice to get rid of the bit annoying error, pls. :o)
BTW: Even with the latest uptades, the frontend is still working like a charm! :o)
Best regards and thank you in advance for any helping hand,
Jomi- This topic was modified 3 years, 4 months ago by jomi.
August 4, 2021 at 6:29 am #1314270Hi Jomi,
I can’t reproduce this problem on a test installation, and we haven’t had any reports from other users with the same problem. Would it be possible for you to copy your site to a staging area, and update there first maybe? If so, then we could see the actual problem and investigate further there.
Best regards,
RikardAugust 12, 2021 at 3:29 pm #1316463problem solved: the error was caused by a missing AUTO_INCREMENT in the table “wp_post”.
August 12, 2021 at 4:32 pm #1316471 -
AuthorPosts
- The topic ‘error message in backend after theme update to ver. 4.8.4 or 4.8.5 or 4.8.6’ is closed to new replies.