This topic has 8 replies, 2 voices, and was last updated 3 years, 7 months ago ago by Olga Barlow
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
Hello,
What is full text of the error? Where do you get it? Provide URL and temporary wp-admin access.
Regards
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
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
Hello,
You have un private.
Thanks
Hello,
Could you, please, tell us when you get this error? What are your actions to get errors?
Regards
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
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
You must be logged in to reply to this topic.Log in/Sign up