Product error - by Berna Güven - on WordPress WooCommerce support

This topic has 6 replies, 4 voices, and was last updated 5 years, 9 months ago ago by Rose Tyler

  • Avatar: Berna Güven
    Berna Güven
    Participant
    February 27, 2019 at 16:44

    Hi, when I add a product,
    bottom of the product page take an error.

    ERROR IS;

    ( ! ) Warning: A non-numeric value encountered in C:\wamp64\www\rumanli\wp-content\plugins\woocommerce\includes\wc-product-functions.php on line 912
    Call Stack
    # Time Memory Function Location
    1 0.0001 408160 {main}( ) …\index.php:0
    2 0.0001 408448 require( ‘C:\wamp64\www\rumanli\wp-blog-header.php’ ) …\index.php:17
    3 1.9958 22075264 require_once( ‘C:\wamp64\www\rumanli\wp-includes\template-loader.php’ ) …\wp-blog-header.php:19
    4 2.0059 22177312 include( ‘C:\wamp64\www\rumanli\wp-content\themes\xstore\woocommerce\single-product.php’ ) …\template-loader.php:74
    5 2.2858 26737056 wc_get_template_part( ) …\single-product.php:33
    6 2.2866 26737168 load_template( ) …\wc-core-functions.php:181
    7 2.2873 26737720 require( ‘C:\wamp64\www\rumanli\wp-content\themes\xstore\woocommerce\content-single-product.php’ ) …\template.php:690
    8 2.4411 26862592 woocommerce_output_related_products( ) …\content-single-product.php:131
    9 2.4411 26862592 woocommerce_related_products( ) …\wc-template-functions.php:1808
    10 2.4574 26873712 wc_get_template( ) …\wc-template-functions.php:1845
    11 2.4581 26874344 include( ‘C:\wamp64\www\rumanli\wp-content\themes\xstore\woocommerce\single-product\related.php’ ) …\wc-core-functions.php:211
    12 2.4581 26874368 wc_get_related_products( )

    This is problem, but I couldn’t screenshot, how can I do this ?

    5 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    February 27, 2019 at 18:15

    Hello,

    1) Do you use any third-party plugins that do not come bundled with our theme?
    2) Are related products enabled on your site (Theme Options > Single product > Related products)?
    3) How many products do you have in every category? Do you have at least 2 products in the category to display them in related products section if related products option is enabled?

    Regards

    Avatar: Berna Güven
    Berna Güven
    Participant
    February 27, 2019 at 20:55

    Which plugins should I load ? I loaded all of plugins which are given with Xstore Theme.. Also have to load any others plugins ?

    Avatar: John Holden
    John Holden
    Support staff
    February 28, 2019 at 04:44

    Hi,

    Please send:

    – FTP info (server, username, password, port)
    – Admin info (wp-admin URL, username, password)

    I will check this problem for you.

    Regards,
    Hung PD

    Avatar: Berna Güven
    Berna Güven
    Participant
    February 28, 2019 at 07:39

    I’m working with localhost

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 28, 2019 at 08:29

    Hello,

    1) Try to disable all the third-party plugin that you have, keep enabled only required bundled plugins https://www.8theme.com/documentation/xstore/plugins/included-plugins/ to check if one of additional plugins causes the problem on your site.
    2) Are related products enabled on your site (Theme Options > Single product > Related products)?
    3) How many products do you have in every category? Do you have at least 2 products in the category to display them in related products section if related products option is enabled?
    4) What version of XStore theme do you use? Go to Appearance > Themes > Theme Details http://prntscr.com/mr717i > http://prntscr.com/mr71bf to check it.
    What version of Core plugin do you use?
    5) Are you using a child theme? Did you make changes in template files?
    6) What PHP version do you use?
    You can use such screenshot maker as Lightshot https://prnt.sc/

    Regards

  • Viewing 6 results - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.