Home Forums WoodMart support forum Error after update via FTP

Error after update via FTP

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #643729

    chefnelone
    Participant

    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

    #643744

    Artem Temos
    Keymaster

    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

Viewing 2 posts - 1 through 2 (of 2 total)