• Resolved bcheriaux

    (@bcheriaux)


    Hi,
    On a local development environment, with WP_DEBUG set to “true”, I see the following PHP Notices when I visit some pages:
    Notice: Undefined index: oney in \path\to\plugins\payplug\src\PayplugWoocommerceHelper.php on line 475
    Notice: Undefined index: oneycgv in \path\to\plugins\payplug\src\PayplugWoocommerceHelper.php on line 476

    This notices appear on:
    – /wp-admin/admin.php?page=wc-settings
    – /cart/ -> totally broken
    – etc…

    My settings:
    – PHP 7.3.5
    – WordPress 5.7.2 and v5.8
    – WooCommerce 5.5.1
    – Payplug plugin 1.2.2 and next (1.2.1 is OK)

    You can find some websites with the same issue in production environments by searching in google:
    Notice: Undefined index: oneycgv “PayplugWoocommerceHelper.php”

    • This topic was modified 2 years, 9 months ago by bcheriaux.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Payplug

    (@payplug)

    Hello,

    Thank you for your post. A new version will be released soon to fix those PHP notices.

    While, you can set your wp-config.php as follow :

    //custom by PayPlug in order to replace Debug mode
    ini_set(‘display_errors’,’Off’);
    ini_set(‘error_reporting’, E_ALL );
    define(‘WP_DEBUG’, false);
    define(‘WP_DEBUG_DISPLAY’, false);

    Best regards

    • This reply was modified 2 years, 9 months ago by Payplug.
    Plugin Author Payplug

    (@payplug)

    Hello,

    You can update your plugin to 1.2.9 to fix your issue

    Best regards 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Notice: Undefined index: oney and oneycgv in PayplugWoocommerceHelper.php’ is closed to new replies.