Home Forums WoodMart support forum WooCommerce plugin error

WooCommerce plugin error

Viewing 28 posts - 1 through 28 (of 28 total)
  • Author
    Posts
  • #97369

    websmartz1
    Participant

    Fatal error message please fix. I installed Official WooCommerce plugin

    Fatal error: Uncaught Error: Call to a member function __isset() on null in /home/mobcater/public_html/wp-content/themes/woodmart/inc/integrations/woocommerce/functions.php:958 Stack trace: #0 /home/mobcater/public_html/wp-content/themes/woodmart/inc/integrations/woocommerce/functions.php(90): woodmart_get_products_per_page() #1 /home/mobcater/public_html/wp-includes/class-wp-hook.php(286): woodmart_shop_products_per_page(’10’) #2 /home/mobcater/public_html/wp-includes/plugin.php(203): WP_Hook->apply_filters(’10’, Array) #3 /home/mobcater/public_html/wp-content/plugins/woocommerce-nested-category-layout/woocommerce-nested-category-layout.php(592): apply_filters(‘loop_shop_per_p…’, ’10’) #4 /home/mobcater/public_html/wp-content/plugins/woocommerce-nested-category-layout/lib/skyverge/woocommerce/class-sv-wc-plugin.php(1231): WC_Nested_Category_Layout->install() #5 /home/mobcater/public_html/wp-includes/class-wp-hook.php(286): SV_WC_Plugin->do_install(”) #6 /home/mobcater/public_html/wp-includes/class-wp-hook.php(310): WP in /home/mobcater/public_html/wp-content/themes/woodmart/inc/integrations/woocommerce/functions.php on line 958

    #97370

    websmartz1
    Participant

    I can’t login into the site via the front end through wp-admin

    #97381

    Artem Temos
    Keymaster

    Hello,

    Could you please disable all plugins that are not related to our theme and provide us your admin access and FTP so we can check it?

    Thank you in advance

    #97400

    websmartz1
    Participant

    Hello,

    I can’t get into my admin account to disable plugins the ftp is below

    #97406

    websmartz1
    Participant

    Like i mentioned before. I only installed this plugin and it stopped working

    Nested Category Layout

    https://woocommerce.com/products/woocommerce-nested-category-layout/

    #97413

    Artem Temos
    Keymaster

    The FTP seems to be wrong and there are no any files there https://gyazo.com/c6bf4e34b283d436485c3ab489beb242

    #97414

    Artem Temos
    Keymaster

    Do you mean that you installed the extension for WooCommerce and it stopped working? In this case, you need to contact plugin’s developers for help since it is not related to our theme.

    #97433

    websmartz1
    Participant

    I will ask them

    Also, my account say our support period for WoodMart theme is valid till June 13, 2019.

    But I got the theme maybe 2 weeks ago and not in June. Can you change this for the right date.

    #97452

    websmartz1
    Participant

    woodmart/woocommerce/content-widget-product.php version 3.5.0 is out of date. The core version is 3.5.2, How to update

    #97472

    Artem Temos
    Keymaster

    This date is set by Envato and our regular license includes 6 months of the support period.

    We will update the version number for this file in our next theme update. Now you don’t need to worry about that.

    #97546

    websmartz1
    Participant

    Hello,

    How to update the plugin
    woodmart/woocommerce/content-widget-product.php version 3.5.0 is out of date. The core version is 3.5.2, How to update

    #97549

    Artem Temos
    Keymaster

    We will update the version number for this file in our next theme update. Now you don’t need to worry about that.

    #97695

    websmartz1
    Participant

    This plugin does not work with your theme, it caused an error that needs to be fixed. I tried it with Storefront and it’s working.

    Nested Category Layout

    https://woocommerce.com/products/woocommerce-nested-category-layout/

    This Fatal error message is coming up

    Fatal error: Uncaught Error: Call to a member function __isset() on null in /home/mobcater/public_html/wp-content/themes/woodmart/inc/integrations/woocommerce/functions.php:958 Stack trace: #0 /home/mobcater/public_html/wp-content/themes/woodmart/inc/integrations/woocommerce/functions.php(90): woodmart_get_products_per_page() #1 /home/mobcater/public_html/wp-includes/class-wp-hook.php(286): woodmart_shop_products_per_page(’10’) #2 /home/mobcater/public_html/wp-includes/plugin.php(203): WP_Hook->apply_filters(’10’, Array) #3 /home/mobcater/public_html/wp-content/plugins/woocommerce-nested-category-layout/woocommerce-nested-category-layout.php(592): apply_filters(‘loop_shop_per_p…’, ’10’) #4 /home/mobcater/public_html/wp-content/plugins/woocommerce-nested-category-layout/lib/skyverge/woocommerce/class-sv-wc-plugin.php(1231): WC_Nested_Category_Layout->install() #5 /home/mobcater/public_html/wp-includes/class-wp-hook.php(286): SV_WC_Plugin->do_install(”) #6 /home/mobcater/public_html/wp-includes/class-wp-hook.php(310): WP in /home/mobcater/public_html/wp-content/themes/woodmart/inc/integrations/woocommerce/functions.php on line 958

    #97710

    Artem Temos
    Keymaster

    Hi,

    Please, describe to us your problems in a bit more details. Attach some screenshots and provide us with a list of steps on how to reproduce it on your website. And we need your admin and FTP access.

    Thank you in advance.

    #97763

    websmartz1
    Participant

    Hello,

    I’ve attached a screen shot below and login details. If you activate the plugin it will will show a fatal error message.

    I will be on the site, so maybe let me know when you intend to be on there

    Fatal error: Uncaught Error: Call to a member function __isset() on null in /home/mobcater/public_html/wp-content/themes/woodmart/inc/integrations/woocommerce/functions.php:958 Stack trace: #0 /home/mobcater/public_html/wp-content/themes/woodmart/inc/integrations/woocommerce/functions.php(90): woodmart_get_products_per_page() #1 /home/mobcater/public_html/wp-includes/class-wp-hook.php(286): woodmart_shop_products_per_page(’10’) #2 /home/mobcater/public_html/wp-includes/plugin.php(203): WP_Hook->apply_filters(’10’, Array) #3 /home/mobcater/public_html/wp-content/plugins/woocommerce-nested-category-layout/woocommerce-nested-category-layout.php(592): apply_filters(‘loop_shop_per_p…’, ’10’) #4 /home/mobcater/public_html/wp-content/plugins/woocommerce-nested-category-layout/lib/skyverge/woocommerce/class-sv-wc-plugin.php(1231): WC_Nested_Category_Layout->install() #5 /home/mobcater/public_html/wp-includes/class-wp-hook.php(286): SV_WC_Plugin->do_install(”) #6 /home/mobcater/public_html/wp-includes/class-wp-hook.php(310): WP in /home/mobcater/public_html/wp-content/themes/woodmart/inc/integrations/woocommerce/functions.php on line 958

    #97813

    websmartz1
    Participant

    Hello,

    Is there any update with this

    #97815

    Artem Temos
    Keymaster

    Please, send us correct FTP access. We can’t access with this data https://prnt.sc/lyedm1

    #97823

    websmartz1
    Participant

    Please try again, I was still signed in to ftp

    #97824

    websmartz1
    Participant

    The detail are correct

    #97830

    Artem Temos
    Keymaster

    We still get the same error.

    #97834

    websmartz1
    Participant

    Hello, I just tried and got in, try these detail

    #97835

    Artem Temos
    Keymaster

    Here is a screenshot of the error we get when trying to connect https://gyazo.com/c97501cd66ae3d39596f5a4174314bdb

    #97840

    websmartz1
    Participant

    Its working now, sorry gave an extra letter in the username

    #97842

    websmartz1
    Participant

    Do let me know if you can get in okay

    #97886

    Artem Temos
    Keymaster

    Try to add the following PHP code snippet to the child theme functions.php file

    function woodmart_get_products_per_page() {
    		if( ! class_exists('WC_Session_Handler') ) return;
    		$s = WC()->session; // WC()->session
    		if ( is_null( $s ) ) return;
    		
    		if ( isset( $_REQUEST['per_page'] ) && ! empty( $_REQUEST['per_page'] ) ) :
    			return intval( $_REQUEST['per_page'] );
    		elseif ( $s->__isset( 'shop_per_page' ) ) :
    			$val = $s->__get( 'shop_per_page' );
    			if( ! empty( $val ) )
    				return intval( $s->__get( 'shop_per_page' ) );
    		endif;
    		return intval( woodmart_get_opt('shop_per_page') );
    	}
    #97974

    websmartz1
    Participant

    Hello have you tested it or are you able to make the changes since you have the login details.

    I did try but it says this Something went wrong. Your change may not have been saved. Please try again. There is also a chance that you may need to manually fix and upload the file over FTP.

    Can you get it working and then activate the plugin to see if it works and then update me.

    #98044

    websmartz1
    Participant

    Hello is there any update on this. It quite important.

    #98073

    Artem Temos
    Keymaster

    Yes, we tested the code on our side. Just put it to the end of the functions.php file in your child theme.

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