[CLOSED] AFTER UPDATE – Problems
Home – SaaS › Forums › Support questions › WooPrice Calculator (Pro) › [CLOSED] AFTER UPDATE – Problems
- This topic has 0 replies, 1 voice, and was last updated 4 years ago by
Anonymous.
-
AuthorPosts
-
March 20, 2017 at 11:24 am #6535
Anne Neuhaus
ParticipantHi Guys,
after the update, I have other problems.
Please see the screenshot attached.
Regards, Anne
March 20, 2017 at 2:34 pm #6546Anonymous
GuestHi Anne,
you should deactivate warning messages in your production website.
If you simply set WP_DEBUG to false in your wp-config.php file you should be fine. This doesn’t affect your site in any way.
define('WP_DEBUG', false);
About price we updated the logic of price output: until a value is empty it’s like “0” for calculation.
Do you have 15€ as a flat price or something in your formula?Regards,
SimoneMarch 21, 2017 at 1:57 pm #6545Anne Neuhaus
ParticipantHi Simone!
Thanks for your answer.
I found the bug with the 15€ (in my formula)
butI still have the warnings on our webshop:
http://www.qartonagen.deWarning: Invalid argument supplied for foreach() in /homepages/17/d655039158/htdocs/clickandbuilds/qartonagen/wp-content/plugins/woo-price-calculator/woo-price-calculator/Helper/CalculatorHelper.php on line 171
Can I just delete the the woopricecalculator helper?
Deactivating in the file wp-config.php didn`t work.
Sorry, I need help. My boss become angry.
Can I give you my filezilla client password?March 21, 2017 at 2:03 pm #6544Anne Neuhaus
ParticipantWhoohoo!
It work`s this this in the wp-config.php:
ini_set(‘log_errors’,’On’);
ini_set(‘display_errors’,’Off’);
ini_set(‘error_reporting’, E_ALL );
define(‘WP_DEBUG’, false);
define(‘WP_DEBUG_LOG’, true);
define(‘WP_DEBUG_DISPLAY’, false);March 21, 2017 at 2:06 pm #6543Anonymous
GuestGood Joob Anne!
I was going to paste the same code for you.
https://aristath.github.io/blog/wp-hide-php-errorsRegards,
SMarch 22, 2017 at 1:24 pm #6542Anne Neuhaus
ParticipantThat`s bad. (Please see the screenshot attached)
What can I do?
Best Regards, Anne
March 23, 2017 at 10:36 am #6541Anonymous
GuestHi Anne,
could you provide the url of page and what did you do to get that error please?
Regards,
SMarch 23, 2017 at 2:40 pm #6540Anne Neuhaus
ParticipantYes, of course.
The url ist http://www.qartonagen.de
Click on one produkt and change the amount.
Wait for the price and click on “In den Warenkorb”
The next page should be the shopping cart page but there is the error.March 23, 2017 at 3:07 pm #6539Anonymous
GuestHi Anna,
I can’t reproduce your issue by following instructions.
I see the shopping cart without errors, I attach a screenshot.
[attachment=39]qartonagen.de:warenkorb:.png[/attachment]
Try to empty your cache browser.
Or am I missing something to reproduce your issue?Regards,
SMarch 27, 2017 at 12:17 am #6538Anne Neuhaus
ParticipantHi Simone,
this is curious.
I still have the errors. I`m using windows firefox (cache is empty)
My boss uses apple with safari.
With my tablet (Windows RT) the same errors.Only with my android smartphone there are no errors.
But what can I do now? I`m in trouble.
The errors lines are
Warning: Invalid argument supplied for foreach() in /homepages/17/d655039158/htdocs/clickandbuilds/qartonagen/wp-content/plugins/woo-price-calculator/woo-price-calculator/Helper/CalculatorHelper.php on line 171
(19times)
Warning: Cannot modify header information – headers already sent by (output started at /homepages/17/d655039158/htdocs/clickandbuilds/qartonagen/wp-content/plugins/woo-price-calculator/woo-price-calculator/Helper/CalculatorHelper.php:171) in /homepages/17/d655039158/htdocs/clickandbuilds/qartonagen/wp-includes/pluggable.php on line 1179Can I delete the Helper?
Can I use an old vision of woopricecalculator?Thanks for your help,
AnneMarch 27, 2017 at 12:49 am #6537Anne Neuhaus
ParticipantOk, now it gets exiting.
I put this code here > woo-price-calculator/woo-price-calculator.php
ini_set(‘log_errors’,’On’);
ini_set(‘display_errors’,’Off’);
ini_set(‘error_reporting’, E_ALL );
define(‘WP_DEBUG’, false);
define(‘WP_DEBUG_LOG’, true);
define(‘WP_DEBUG_DISPLAY’, false);and all the errors gone. Everything`s fine now.
Can anything bad happen?
Regards, Anne
March 27, 2017 at 7:52 am #6536Anonymous
GuestHi Anne,
it’s strange that I can’t reproduce the issue. Please don’t remove Helper file or it will break WPC.
Sure you can downgrade to another version. Backup your website before it.I don’t think that anything bad could happen.
Regards,
Simone -
AuthorPosts
- You must be logged in to reply to this topic.