Home / Forums / WoodMart support forum / Theme failed. I cannot update and my site is down while running ads.
Home › Forums › WoodMart support forum › Theme failed. I cannot update and my site is down while running ads.
Theme failed. I cannot update and my site is down while running ads.
- This topic has 8 replies, 2 voices, and was last updated 1 year, 7 months ago by
Artem Temos.
-
AuthorPosts
-
December 6, 2024 at 1:49 am #619891
tim-7881ParticipantThe theme updated automatically and my site is down right now. Please I need support. I checked the wordpress logs and I see this:
Stack trace:
#0 /var/www/html/wp-content/themes/woodmart/inc/integrations/woocommerce/modules/frequently-bought-together/class-main.php(42): require_once()
#1 /var/www/html/wp-content/themes/woodmart/inc/integrations/woocommerce/modules/frequently-bought-together/class-main.php(24): XTS\Modules\Frequently_Bought_Together\Main->include_files()
#2 /var/www/html/wp-content/themes/woodmart/inc/classes/class-singleton.php(34): XTS\Modules\Frequently_Bought_Together\Main->init()
#3 /var/www/html/wp-content/themes/woodmart/inc/integrations/woocommerce/modules/frequently-bought-together/class-main.php(210): XTS\Singleton::get_instance()
#4 /var/www/html/wp-content/themes/woodmart/inc/classes/class-theme.php(492): require_once(‘…’)
#5 /var/www/html/wp-content/themes/woodmart/inc/classes/class-theme.php(161): XTS\Theme->enqueue_files()
#6 /var/www/html/wp-content/themes/woodmart/inc/classes/class-theme.php(38): XTS\Theme->general_files_include()
#7 /var/www/html/wp-content/themes/woodmart/functions.php(50): XTS\Theme->__construct()
#8 /var/www/html/wp-settings.php(672): include(‘…’)
#9 /var/www/html/wp-config.php(112): require_once(‘…’)
#10 /var/www/html/wp-load.php(50): require_once(‘…’)
#11 /var/www/html/wp-blog-header.php(13): require_once(‘…’)
#12 /var/www/html/index.php(17): require(‘…’)
#13 {main}
thrown in /var/www/html/wp-content/themes/woodmart/inc/integrations/woocommerce/modules/frequently-bought-together/class-table.php on line 17PLEASE, I need you to fix this ASAP.
December 6, 2024 at 1:53 am #619892
tim-7881ParticipantHere is the temporary login. Please fix it for me as soon as possible…
December 6, 2024 at 1:54 am #619893
tim-7881ParticipantI activated another theme so you can fix it. If i activate woodmart the site goes down and you dont have access to wordpress.
December 6, 2024 at 2:39 am #619894
tim-7881ParticipantI went back to version 8.0.0 of the theme and now it is working. Please I need you to update the theme using the access I granted you.
December 6, 2024 at 9:49 am #619957Hello,
Please send us your admin and FTP access. We will update the theme and fix the error if it appears again.
Kind Regards
December 6, 2024 at 10:57 am #619990
tim-7881ParticipantCan you connect with sftp? I can authorize your public key.
December 6, 2024 at 11:47 am #620026Hello,
To quickly fix the error, open the file “wp-
content\themes\woodmart\inc\integrations\woocommerce\modules\frequently-bought-together\class-main.php” and replace the following codepublic function include_files() { $files = array( 'class-controls', 'class-table', 'class-frontend', 'class-render', ); foreach ( $files as $file ) { require_once get_parent_theme_file_path( WOODMART_FRAMEWORK . '/integrations/woocommerce/modules/frequently-bought-together/' . $file . '.php' ); } }with this one
public function include_files() { if ( ! class_exists( 'WP_List_Table' ) ) { require_once ABSPATH . 'wp-admin/includes/class-wp-list-table.php'; } $files = array( 'class-controls', 'class-table', 'class-frontend', 'class-render', ); foreach ( $files as $file ) { require_once get_parent_theme_file_path( WOODMART_FRAMEWORK . '/integrations/woocommerce/modules/frequently-bought-together/' . $file . '.php' ); } }Kind Regards
December 6, 2024 at 2:57 pm #620141
tim-7881ParticipantSince I renewed support only for this, can you please check why my checkout is kinda slow? For example on safari the loading bar gets stuck at 20% for 2-3 seconds and then loads the form. Then the express checkout is loaded 1-2 seconds after the form is fully loaded. Thank you!
December 6, 2024 at 5:46 pm #620251Hello,
Could you please create a separate topic if the initial issue is solved? Please describe the problem in details so we can check.
Kind Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register