Skip to main content

issues with warnings all of a sudden.

Comments

5 comments

  • Karapuz

    Hello, Yancey,

    These are not fatal errors, they are warnings and they can be suppressed by setting error_reporting(0) in system/startup.php.

    My guess that maybe someone tried to access to a product page that does not exist. If the store works fine and you cannot reproduce these errors in regular circumstances then these messages can be ignored.

    To disable them completely a code investigation is required here.

    Kind regards,

    Karapuz

    https://www.ka-station.com

    0
  • yancey potter

    so this was triggered when trying to edit a products options. normally doesnt happen but started happening

     

     

    0
  • yancey potter

    just got this new one.

     

    Warning: googleshopping\Googleshopping::integer(): Argument #1 ($product_id) must be passed by reference, value given in /home2/offici36/public_html/Cart/system/library/googleshopping/googleshopping.php on line 583Warning: googleshopping\Googleshopping::integer(): Argument #1 ($product_id) must be passed by reference, value given in /home2/offici36/public_html/Cart/system/library/googleshopping/googleshopping.php on line 583Warning: googleshopping\Googleshopping::integer(): Argument #1 ($product_id) must be passed by reference, value given in /home2/offici36/public_html/Cart/system/library/googleshopping/googleshopping.php on line 583Warning: googleshopping\Googleshopping::integer(): Argument #1 ($product_id) must be passed by reference, value given in /home2/offici36/public_html/Cart/system/library/googleshopping/googleshopping.php on line 583Warning: googleshopping\Googleshopping::integer(): Argument #1 ($product_id) must be passed by reference, value given in /home2/offici36/public_html/Cart/system/library/googleshopping/googleshopping.php on line 583Warning: googleshopping\Googleshopping::integer(): Argument #1 ($product_id) must be passed by reference, value given in /home2/offici36/public_html/Cart/system/library/googleshopping/googleshopping.php on line 583Warning: Cannot modify header information - headers already sent by (output started at /home2/offici36/public_html/Cart/admin/controller/startup/error.php:34) in /home2/offici36/public_html/Cart/system/library/response.php on line 36

     

    0
  • Karapuz

    I deleted comment... It was incorrect, sorry. The googleshopping is a part of Opencart.

    0
  • Karapuz

    Hello, Yancey,

    I looked at the code, you should probably change this line:

    public function integer(&$product_id) {

    to this

    public function integer($product_id) {

    in that file:

    /home2/offici36/public_html/Cart/system/library/googleshopping/googleshopping.php

    It looks like a bug in Opencart code.

    Kind regards

    Karapuz

    0

Please sign in to leave a comment.

Powered by Zendesk