• Resolved Jos Klever

    (@josklever)


    Since version 7.3.1 my error logs are filling up with these errors:
    PHP Warning: Undefined array key "voucher" in /.../wp-content/plugins/mollie-payments-for-woocommerce/src/Gateway/Voucher/VoucherModule.php on line 44

    No, there’s no debug option enabled, so it’s not showing on the frontend, but it’s filling up the error log. I can’t monitor it for other errors, like I normally do (as error logs should be empty. Now I have to ignore all alarms until you have fixed this. Please fix it asap as a hotfix shouldn’t take long.

    Thanks!

Viewing 10 replies - 1 through 10 (of 10 total)
  • Also faced this error this morning after an automatic update during the night.
    Everything was in production and working fine yesterday with the 7.3.0

    
    Warning: Undefined array key "voucher" in?wp-content/plugins/mollie-payments-for-woocommerce/src/Gateway/Voucher/VoucherModule.php?on line?44
    
    Warning: Cannot modify header information - headers already sent by (output started at wp-content/plugins/mollie-payments-for-woocommerce/src/Gateway/Voucher/VoucherModule.php:44) in?wp-admin/includes/misc.php?on line?1381
    
    Warning: Cannot modify header information - headers already sent by (output started at wp-content/plugins/mollie-payments-for-woocommerce/src/Gateway/Voucher/VoucherModule.php:44) in?wp-includes/functions.php?on line?6878
    
    Warning: Cannot modify header information - headers already sent by (output started at wp-content/plugins/mollie-payments-for-woocommerce/src/Gateway/Voucher/VoucherModule.php:44) in?wp-includes/pluggable.php?on line?1421
    
    Warning: Cannot modify header information - headers already sent by (output started at wp-content/plugins/mollie-payments-for-woocommerce/src/Gateway/Voucher/VoucherModule.php:44) in?wp-includes/pluggable.php?on line?1424
    • This reply was modified 2 years, 2 months ago by alexislevrai.

    Same problem here, I downgraded from PHP8 to 7.4 and now it works again.

    Same problem here. PHP 7.4.30.

    PHP Warning: Undefined array key “voucher” in /…/wp-content/plugins/mollie-payments-for-woocommerce/src/Gateway/Voucher/VoucherModule.php on line 44

    Thread Starter Jos Klever

    (@josklever)

    Solved in version 7.3.2

    Nice that was quick !

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    Thanks for the feedback. The latest version 7.3.2 should indeed resolve the warning.
    We still recommend disabling debugging on production sites when it’s enabled. Debugging can cause problems that could be avoided by only using it when needed.

    Kind regards,
    Niklas

    Thread Starter Jos Klever

    (@josklever)

    @niklasinpsyde The debug answer should be posted on other threads, as I’ve clearly stated, that WP_DEBUG was not enabled in my case.

    Hi Guys,

    Also have the same problem. I already lowered my PHP version from PHP8.0 to PHP7.4, now my site is back online. But I still see a headline on the homepage which says the same thing. Can anyone help me? Also the PHp7.3 is not solving the problem for my website. Here is the link down below. Can anyone help me out?

    https://www.hiddinkbouwservice.nl/

    Thanks in advance.

    Thread Starter Jos Klever

    (@josklever)

    Hi @luukvossers9,

    Please create your own support topic, as this one has already been resolved and your error is a different one related to WooCommerce 6.9.0 and OceanWP (hint: update the theme to 3.3.5 and it’s solved).

    Groetjes,
    Jos

    • This reply was modified 2 years, 2 months ago by Jos Klever.

    Thanks @josklever , your the best. Problem solved. ??

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Undefined array key “voucher”’ is closed to new replies.