Php warning After todays update
-
Warning: Undefined array key “voucher” in …/plugins/mollie-payments-for-woocommerce/src/Gateway/Voucher/VoucherModule.php on line 44
-
Hi @nielsverwaal,
Thanks for the feedback.
As long asWP_DEBUG_DISPLAYis not enabled, I don’t anticipate it to cause any major problems.
Maybe we can provide a new package in the coming days, but this will be resolved with the next update in any case.Kind regards,
NiklasHi Niklas,
I have the same problem, same line 44.The problem now is that I can’t deactivate some of my plugins. It’s a mystery to me. I have tried to disable wp_debug_display, but can’t enable/disable it. You can see on the front of my site a warning. This is the site: https://www.zorg-dragen.shop
Can you please check what I can do to remove the message, the error or change the plugin back to an earlier version? I can’t deactivate your plugin now. Also not via wpmudev.
Thank you already for your quick reply! My shop is not working now.
Kind regards,
Stephanie-
This reply was modified 3 years, 8 months ago by
swebsnl.
Hi @swebsnl,
This message only displays in the site frontend because
WP_DEBUG_DISPLAYis already enabled. Debugging can be disabled as described here: https://ww.wp.xz.cn/support/article/debugging-in-wordpress/
Once it’s disabled, the message should disappear, and the shop should be working again.
You can also install the previous plugin version, but disabling debugging should be done in any case.When any warnings or notices are displayed via
WP_DEBUG_DISPLAY, it can cause problems on the website and, in the worst case, break the WooCommerce Checkout.
So this should generally only be enabled when actively debugging a problem.
I hope this helps!Kind regards,
NiklasThank you for your very quick reply! I found your german version as well and managed to overwrite the plugin by the previous version. I have deleted my changes in the php version because that didn’t make any difference.
For now it looks fine again. I can also deactivate all my other plugins again. Stupid question maybe? I cannot deactivate my debug display in the dashboard of my WP. Where does this thing come from? Is it part of another plugin as far as you know?
Thanks again!
Kind regards,
StephanieHi Niels/Stephanie,
Ik had het zelfde probleem… Debug in de config.php op ‘false’ gezet en nu werkt m’n shop weer. Heb jij daarna nog iets aangepast? Waar heb je de oude Mollie plugin gevonden?
Grt,
RobertHoi Robert,
De link staat 2 berichtjes terug: https://downloads.wp.xz.cn/plugin/mollie-payments-for-woocommerce.7.3.0.zip
Met de oude versie van de plugin was het voor mij opgelost, het op false zetten werkte bij mij niet. Geen idee waarom.
Gr. Stephanie
The warning was resolved in the latest update 7.3.2.
But debugging should still be disabled on production sites because it can cause problems, and eventual error messages should not be visible to website visitors in the first place.
Debugging can be disabled via FTP from thewp-config.phpas described here: https://ww.wp.xz.cn/support/article/debugging-in-wordpress/Kind regards,
NiklasThank you Niklas for the new update again!
Kind regards,
StephanieNice, but the update is not available through the WP updates? Where can we get it?
It’s available now, thanks.
-
This reply was modified 3 years, 8 months ago by
The topic ‘Php warning After todays update’ is closed to new replies.