Home › Forums › Calendar Products › Events Calendar PRO › Fatal Errors
- This topic has 3 replies, 2 voices, and was last updated 8 years, 8 months ago by
Matthew Weeks.
-
AuthorPosts
-
August 9, 2017 at 2:10 pm #1333104
Matthew Weeks
ParticipantHello,
I am experiencing fatal errors when trying to add a new event.
Some examples of the errors:
Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 140569812619264 bytes) in /wp-content/plugins/the-events-calendar/src/admin-views/events-meta-box.php on line 48
Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 148619951639461888 bytes) in /wp-content/plugins/the-events-calendar/src/admin-views/event-sidebar-options.php on line 30
I was also wondering if there was a way to request another key for a development site, as these issues may be server related and we would like to test in another environment.
Thanks
August 9, 2017 at 2:46 pm #1333113Patricia
MemberHey Matthew,
Thank you for reaching out to us!
This Fatal Error is easily fixed this by increasing your PHP memory limit. You have two options:
1- Edit the wp-config.php file on your site and add this line:
define( ‘WP_MEMORY_LIMIT’, ‘256M’ );
By default, WordPress automatically tries to increase PHP memory limit if it is less than 64MB. However, 64MB is often not high enough. Please note that sometimes even 256M is not enough, this value needs to be adjusted depending on your website needs and your server capability.
2- If the first solution didn’t work, this means your hosting provider does not allow WordPress to increase PHP memory limit. In this case you can ask them to increase your PHP memory limit by modifying the php.ini file.
Regarding your second question, you can use one license key for both your live and dev sites. You will find further information about this here.
I hope this helps!
Let me know if you need anything else and I’ll be happy to assist ?
Regards,
Patricia
August 31, 2017 at 9:35 am #1343167Support Droid
KeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Fatal Errors’ is closed to new replies.
