Fatal Errors

Home Forums Calendar Products Events Calendar PRO Fatal Errors

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1333104
    Matthew Weeks
    Participant

    Hello,

    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

    #1333113
    Patricia
    Member

    Hey 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

    #1343167
    Support Droid
    Keymaster

    Hey 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

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Fatal Errors’ is closed to new replies.