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.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #619891

    tim-7881
    Participant

    The 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 17

    PLEASE, I need you to fix this ASAP.

    #619892

    tim-7881
    Participant

    Here is the temporary login. Please fix it for me as soon as possible…

    #619893

    tim-7881
    Participant

    I activated another theme so you can fix it. If i activate woodmart the site goes down and you dont have access to wordpress.

    #619894

    tim-7881
    Participant

    I 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.

    #619957

    Artem Temos
    Keymaster

    Hello,

    Please send us your admin and FTP access. We will update the theme and fix the error if it appears again.

    Kind Regards

    #619990

    tim-7881
    Participant

    Can you connect with sftp? I can authorize your public key.

    #620026

    Artem Temos
    Keymaster

    Hello,

    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 code

    public 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

    #620141

    tim-7881
    Participant

    Since 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!

    #620251

    Artem Temos
    Keymaster

    Hello,

    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

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