ERROR woocommerce/templates/single-product/price.php:25

This topic has 8 replies, 2 voices, and was last updated 3 years, 3 months ago ago by Olga Barlow

  • Avatar: Andy93i
    Andy93i
    Participant
    March 28, 2021 at 22:49

    woocommerce/templates/single-product/price.php:25

    Hello,

    I’m getting an error and it seems that it is caused by your theme, how to fix it please?

    woocommerce/templates/single-product/price.php:25

    Have a nice day

    7 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 29, 2021 at 06:29

    Hello,

    What is full text of the error? Where do you get it? Provide URL and temporary wp-admin access.

    Regards

    Avatar: Andy93i
    Andy93i
    Participant
    March 29, 2021 at 08:58

    hello,

    [21-Mar-2021 18:40:39 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_price_html() on null in /home/customer/www/fibrany.com/public_html/wp-content/plugins/woocommerce/templates/single-product/price.php:25
    Stack trace:
    #0 /home/customer/www/fibrany.com/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include()
    #1 /home/customer/www/fibrany.com/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php(1569): wc_get_template(‘single-product/…’)
    #2 /home/customer/www/fibrany.com/public_html/wp-content/plugins/et-core-plugin/app/models/customizer/functions.php(3338): woocommerce_template_single_price()
    #3 /home/customer/www/fibrany.com/public_html/wp-includes/class-wp-hook.php(292): etheme_sticky_add_to_cart(”)
    #4 /home/customer/www/fibrany.com/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(”, Array)
    #5 /home/customer/www/fibrany.com/public_html/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
    #6 /home/customer/www/fibrany.com/public_html/wp-content/the in /home/customer/www/fibrany.com/public_html/wp-content/plugins/woocommerce/templates/single-product/price.php on line 25

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 29, 2021 at 10:25

    Hello,

    Do you see these errors on a particular page on the site or this information from the server error log?
    We can’t access your Dashboard. Please check – https://prnt.sc/10yvt02 Also, provide temporary FTP access. If you do not know how to create temporary FTP access contact your hosting provider, they will help you.
    Most errors come from woocommerce plugin and can be caused by a conflict with s 3rd party plugin on your site. This one is from our Core plugin https://prnt.sc/10yvu7d , and our technicians will check it once you provide credentials.

    Regards

    Avatar: Andy93i
    Andy93i
    Participant
    April 8, 2021 at 14:00

    Hello,

    You have un private.

    Thanks

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    April 8, 2021 at 16:12

    Hello,

    Could you, please, tell us when you get this error? What are your actions to get errors?

    Regards

    Avatar: Andy93i
    Andy93i
    Participant
    April 12, 2021 at 09:43

    It is woocommerce and my logistician that I found this error.

    I notice that there is also a problem with the addition in cart, when I add a product, it is added but then when I change page it adds or removes all alone, without any action on my part. customers also reported the problem.

    I installed another theme and there is no more this problem.

    I don’t know if it’s related.

    Thanks

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    April 13, 2021 at 15:53

    Hello,

    1) We don’t understand when you get that error. Could you, please, describe your actions step by step that generate the error? Because once we clear the error log we don’t get the error if we visit product, add it to cart etc. So, we don’t understand after what error appears.

    2) Check the mini cart now.

    Regards

  • Viewing 8 results - 1 through 8 (of 8 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.