Thread Starter
Birgit
(@birgitdouma)
Hi,
I now see that when I am in an order and try to generate a PDF (button top right) I get an error message
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 491520 bytes) in /home/xvd79695/domains/oergezond.nu/public_html/wp-content/plugins/woocommerce-pdf-invoices/lib/mpdf/classes/indic.php on line 799
The hosting has more than enough memory, I would say from the control panel, to accommodate this site. But I am really a digibeet in this area.
Your suggestions would be very welcome.
Thanks.
Can you tell me how much memory you’ve setup in wp-config.php file?
Thread Starter
Birgit
(@birgitdouma)
Hello Bas,
I had added this line to the wp-config.php
define(‘WP_MEMORY_LIMIT’, ‘128M’);
I talked to the provider on Thursday and they told me their standard is 128MB. But to make sure I have now sent in a ticket. No reply yet.
Regards,
Birgit
Thread Starter
Birgit
(@birgitdouma)
Hi Bas,
The provider raised the memory to 256MB. Now it works.
Do you have any idea why it has to be so high? On my online testdomain all worked with 40MB, including your plugin.
Thanks.
yes, i have same problem, how fix
It could be something with the image path.
Please change the code on line 313 and try to get the relative path instead of the allow_url_fopen base64 way in file abstract-bewpi-invoice.php. Just comment and uncomment code.
Thread Starter
Birgit
(@birgitdouma)
Hi, I had reply from the provider. They raised memory to 256MB and now it works.
Regards,
Birgit
Thread Starter
Birgit
(@birgitdouma)
oops, I already mentioned that, sorry
Great, that it works!
Would you be so kind to rate the plugin? It will support future development big-time! 🙂
@jenniferpham099 did you get it to work?
@birgit please rate plugin. 😀
Thread Starter
Birgit
(@birgitdouma)
Hi Bas,
As I replied by mail, I already rated. Look in the listings. 30 October