Woodmart theme upgrade error
-
When upgrading Woodmart (any version), I am getting the following error on all my different sites:
When seeking help with this issue, you may be asked for some of the following information:
WordPress version 6.7.1
Active theme: Woodmart Child (version 1.0.0) Current plugin: (version ) PHP version 8.3.13
Error Details
=============
An error of type E_ERROR was caused in line 80 of the file /home/virtua29/public_html/wp-content/themes/woodmart/inc/classes/class-autoupdates.php. Error message: Uncaught Error: Attempt to modify property “response” on null in /home/virtua29/public_html/wp-content/themes/woodmart/inc/classes/class-autoupdates.php:80
Stack trace:
#0 /home/virtua29/public_html/wp-includes/class-wp-hook.php(326): XTS\Autoupdates->set_update_transient()
#1 /home/virtua29/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#2 /home/virtua29/public_html/wp-includes/option.php(2610): apply_filters()
#3 /home/virtua29/public_html/wp-content/plugins/bdthemes-element-pack/base/element-pack-base.php(88): set_site_transient()
#4 /home/virtua29/public_html/wp-includes/class-wp-hook.php(324): ElementPack\Base\Element_Pack_Base->ElementPack\Base\{closure}()
#5 /home/virtua29/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#6 /home/virtua29/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#7 /home/virtua29/public_html/wp-admin/includes/class-theme-upgrader.php(510): do_action()
#8 /home/virtua29/public_html/wp-admin/update.php(256): Theme_Upgrader->bulk_upgrade()
#9 {main}
thrown
It is hard to replicate, since this only happens when an update is available.
Any idea if this has to do with Woodmart itself, or with a plugin installed or?
The update still goes ahead, just getting an error after it’s done.
Hello,
This error is caused by the Element Pack Pro
plugin. Once the plugin is disabled, the error disappears. You can test this on your website now.
Kind Regards