Hello @niburu
This is a bit of a pain task, but fortunately, it should be a quick fix. Please go to: /wp-admin/admin.php?page=wc-settings&tab=mollie_settings§ion=mollie_payment_methods
Then open manage payment method one by one. You do not need to actually change the configuration, but you need to trigger the “Save changes” action for each method. For example:
- add an “x” in the description field
- remove it
- click “Save changes”
Repeat this for each payment method. This forces WooCommerce to rewrite the full settings array to the database, including the hide_order_lines key. After that should return a proper array, and the PHP warning should disappear.
Kind Regards,
Krystian
Thread Starter
niburu
(@niburu)
@inpsydekrystian
I tried it several times. Sadly the error is not gone.
[17-May-2026 08:08:50 UTC] PHP Warning: Undefined array key “hide_order_lines” in ************************/plugins/mollie-payments-for-woocommerce/src/Payment/Request/Middleware/OrderLinesMiddleware.php on line 44
Hello @niburu
To keep you updated. I created an issue for this and forwarded it to the developers. We’re currently waiting for feedback, and I’ll update you as soon as I hear back.
Kind regards,
Krystian