fedeltamedia
Forum Replies Created
-
Amazing, seems like a good workaround. I will try this, thanks!
Forum: Plugins
In reply to: [LiteSpeed Cache] “Privately Cache Cart” option missingI will look into this, thanks!
Forum: Plugins
In reply to: [LiteSpeed Cache] “Privately Cache Cart” option missingESI doesn’t provide caching for non-private parts of the page?
Weird part is, there already is object cache (Redis Object Cache plugin) and a strong server with LiteSpeed webserver installed with lots of RAM. But still the cart takes 9sec to load ??
Forum: Plugins
In reply to: [LiteSpeed Cache] “Privately Cache Cart” option missingThe problem is, the complete site is really fast. Thanks to caching. But as soon as you add a product to cart or visit the cart (as a guest mainly), the site is very very slow.
So caching with hole-punching seems like the best option, as I understand that is wat ESI does? But it’s unclear to me if any other changes need to be made or not
Forum: Plugins
In reply to: [LiteSpeed Cache] “Privately Cache Cart” option missingESI is currently disabled, so I assume I simply click enable (nothing else needs to be configured?) and everything works?
@josklever
The PHP error log or the WordPress debug log? The latter you need to enable yourself.It doesn’t matter which plugin you use for PDFs. As you can see in the stack trace (so no wild guessing here Jos), the problem relates to adding attachments to order confirmation emails. So ANY plugin adding those attachments could be the cause. And since you’ve listed you use ‘WooCommerce PDF Invoices & Packing Slips’, it’s probably related.
Btw, nothing holds you back to re-install the latest Mollie version. And test again with the PDF extension disabled. Or perhaps then check the WordPress debug log (again, not to be confused with the PHP error log).
You will see for yourself, this issue is related because it traces back to the same Mollie plugin functionality
- This reply was modified 2 years, 9 months ago by fedeltamedia. Reason: Jos is not a real dev, so added more explanation
@josklever so you checked the WP debug log? And you disabled your PDF extension? Or are you simply “wild guessing” now?
Unless proven otherwise by you, this issue still seems related
@josklever I see you didn’t add any debug logs. If you had checked the error log, you’d see that the problem occurs when trying to add an attachment to the email. So our order emails weren’t send out, exactly the same problem as you are facing.
So try to disable the PDF extension (which you still didn’t do) and check again ?? Or… this time, DO check WordPress’s debug logs.
Let me do that for you right now, save us both some trouble:
[14-Feb-2022 13:37:35 UTC] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function Mollie\WooCommerce\Shared\GatewaySurchargeHandler::Mollie\WooCommerce\Shared\{closure}(), 3 passed in /home/xxx/domains/xxx.nl/public_html/wp-includes/class-wp-hook.php on line 307 and exactly 4 expected in /home/xxx/domains/xxx.nl/public_html/wp-content/plugins/mollie-payments-for-woocommerce/src/Shared/GatewaySurchargeHandler.php:58 Stack trace: #0 /home/xxx/domains/xxx.nl/public_html/wp-includes/class-wp-hook.php(307): Mollie\WooCommerce\Shared\GatewaySurchargeHandler->Mollie\WooCommerce\Shared\{closure}(69142, Object(WC_Order_Item_Product), Object(Automattic\WooCommerce\Admin\Overrides\Order)) #1 /home/xxx/domains/xxx.nl/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array) #2 /home/xxx/domains/xxx.nl/public_html/wp-includes/plugin.php(474): WP_Hook->do_action(Array) #3 /home/xxx/domains/xxx.nl/public_html/wp-content/plugins/woocommerce-pdf-invoices/includes/abstracts/abst in /home/xxx/domains/xxx.nl/public_html/wp-content/plugins/mollie-payments-for-woocommerce/src/Shared/GatewaySurchargeHandler.php on line 58
@josklever did you try to disable the PDF extension that is in use on your site?
WooCommerce PDF Invoices & Packing SlipsBecause it seems to have to do something with PDF plugins in general. In that case, our reports are relevant
I’m having the same problem! The workaround (for now):
Option #1:
Disable ‘Invoices for WooCommerce’ plugnOption #2:
Downgrade Mollie plugin to 6.7.0 or lower