Posted: April 7, 2015 at 6:32 pm
|
Please can you advise how to fix this. I am not a techie so please advise in plain English :o) Many thanks, Julie PS – I am using the most current version of EE4 This occurs when you press the link to produce a PDF on this receipt. ————— Fatal error: Allowed memory size of 94371840 bytes exhausted (tried to allocate 71 bytes) in /home/jfleming/foodgatherings.com/wp-content/plugins/event-espresso-core-reg/core/third_party_libs/dompdf/include/frame_reflower.cls.php on line 136 |
|
PS – I get a similar message whether I use the default global template or a custom template. |
Hi Julie, That error means your site is running out of memory. 94371840 bytes = 94MB. You’ll need to up the WP memory limit within your wp-config.php file, do you have FTP access to the site? or access to something like cPanel? You’ll need to add something like: define( 'WP_MAX_MEMORY_LIMIT', '128M' ); or even: define( 'WP_MAX_MEMORY_LIMIT', '256M' ); To increase the memory allocated to your site. 96MB is usually sufficient but depends entirely on the plugins (and theme) in use on the site. |
|
|
Hi Tony – I did that. Here’s the code in the wp-config.php file now but it made no difference. this is the error message now. Fatal error: Allowed memory size of 94371840 bytes exhausted (tried to allocate 3380 bytes) in /home/jfleming/foodgatherings.com/wp-content/plugins/event-espresso-core-reg/core/third_party_libs/dompdf/lib/class.pdf.php on line 2862 Please advise. Thanks, Julie Removed – Tony
|
I have removed the contents of your post as this is a public forum. wp-config.php contains sensitive information for your site, it should not be shared publicly 🙂 My apologies, please change this line: define( 'WP_MAX_MEMORY_LIMIT', '256M' ); to define( 'WP_MEMORY_LIMIT', '256M' ); Then re-test once more. This setting is also dependent on if your host allows you to change that value. |
|
|
Hurray – finally worked! Thanks Tony – really appreciate your help and guidance. Julie |
The support post ‘Fatal Error with PDF’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.