[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.
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #8355
    Anne Neuhaus
    Participant

    Hi Guys,

    after the update, I have other problems.

    Please see the screenshot attached.

    Regards, Anne

    #8366
    Anonymous
    Guest

    Hi 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,
    Simone

    #8365
    Anne Neuhaus
    Participant

    Hi Simone!

    Thanks for your answer.
    I found the bug with the 15€ (in my formula)
    but

    I still have the warnings on our webshop:
    http://www.qartonagen.de

    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

    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?

    #8364
    Anne Neuhaus
    Participant

    Whoohoo!

    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);

    #8363
    Anonymous
    Guest

    Good Joob Anne!
    I was going to paste the same code for you.
    https://aristath.github.io/blog/wp-hide-php-errors

    Regards,
    S

    #8362
    Anne Neuhaus
    Participant

    That`s bad. (Please see the screenshot attached)

    What can I do?

    Best Regards, Anne

    #8361
    Anonymous
    Guest

    Hi Anne,

    could you provide the url of page and what did you do to get that error please?

    Regards,
    S

    #8360
    Anne Neuhaus
    Participant

    Yes, 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.

    #8359
    Anonymous
    Guest

    Hi 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,
    S

    #8358
    Anne Neuhaus
    Participant

    Hi 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 1179

    Can I delete the Helper?
    Can I use an old vision of woopricecalculator?

    Thanks for your help,
    Anne

    #8357
    Anne Neuhaus
    Participant

    Ok, 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

    #8356
    Anonymous
    Guest

    Hi 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

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.