Error after update via FTP
-
Hello there,
I get an error after I updated the Theme via FTP. To fix it I just updated the theme again via Worpdress dashboard at /wp-admin/theme-install.php
How can avoid this problem? Should I run the wordpress cron after the FTP update?
Error message:
[07-Mar-2025 07:00:33 UTC] PHP Fatal error: Cannot declare class XTS\Modules\Layouts\Free_Gifts, because the name is already in use in /usr/home/prioritat/www/wp-content/themes/woodmart/inc/modules/layouts/elementor/woocommerce/class-free-gifts.php on line 23
Please, let me know.
Walter
Hello,
It looks like you didn’t update the theme properly. Try to delete the theme folder and then upload the latest version of the theme.
Kind Regards