Home › Forums › Calendar Products › Events Calendar PRO › Fatal error: memory exhausted when trying to create a recurring event
- This topic has 17 replies, 2 voices, and was last updated 8 years, 7 months ago by
Marci Marshall.
-
AuthorPosts
-
August 9, 2017 at 1:05 pm #1333060
Marci Marshall
ParticipantI’ve read all the other forum threads on this topic, and all of them suggest increasing server memory limit to 512M and deactivating all other plugins. I’ve tried both, and neither work. When I try to create a recurring event, even with just one additional recurrence, I get this error:
Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 32 bytes) in /…/wp-content/plugins/events-calendar-pro/src/Tribe/Recurrence.php on line 131
I am running the latest version of both events calendar and events calendar pro as of 8/9/17
August 10, 2017 at 6:13 am #1333378Andras
KeymasterHello Marci,
Thanks for using our plugins and welcome to the forums!
I checked your site and immediately bumped into an error message:
<b>Notice</b>: Constant WP_MAX_MEMORY_LIMIT already defined in <b>/home/deploy/staging-insider.energytrust.org/wp-config.php</b> on line <b>99</b>Try to remove that setting from wp-config.php and check if that helps.
I would think this isn’t so much our plugin misbehaving as it is something with server settings and limits. Unless there are some other bugs. I’d recommend going to https://sitecheck.sucuri.net/ and running a check there as well.
Please let me know how you end up and we can look further is the issue persists.
Cheers,
AndrasAugust 30, 2017 at 10:28 am #1342560Marci Marshall
ParticipantI removed the setting from wp-config.php, yet the issue still persists. I also ran a security check and found nothing out of the ordinary.
August 31, 2017 at 1:28 pm #1343345Andras
KeymasterHello Marci,
I’m sorry this is still happening.
As a first I’d kindly like to ask you to update to the latest versions of the plugins if you didn’t yet do so. Thank you!
There are couple of things we can still look at to find out more of this issue.
Please open the developer tools in your browser (usually F12 or Ctrl+Shift+I) and switch to the “Console” tab. Then try to create a recurring event and check if you get any error messages in the console. If yes, please send me a screenshot of that.
The second thing we can try is enabling “WP_DEBUG”. For this you will need to open your wp-config.php file and look for the line:
define('WP_DEBUG', false);and change it to
define('WP_DEBUG', true);Then try to create a recurring event and see if you get any error messages on the screen. If yes, please send me a screenshot.
After the testing don’t forget to set it back to “false” otherwise your visitors might get some error messages on the front-end.
Thanks,
AndrasSeptember 8, 2017 at 12:04 pm #1346819Marci Marshall
ParticipantI have WP_DEBUG turned on. Nothing appears in the console before I am directed to a blank page that has nothing except this message:
Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 72 bytes) in /home/deploy/staging-insider.energytrust.org/wp-content/plugins/events-calendar-pro/src/Tribe/Recurrence.php on line 94
September 11, 2017 at 11:54 am #1347635Andras
KeymasterHell Marci,
Are you getting these error messages on your staging site http://staging-insider.energytrust.org/ ?
If yes, could you please update the calendar plugins to the latest version and check if you are still having the issue?
Thanks,
AndrasSeptember 12, 2017 at 10:43 am #1348199Marci Marshall
ParticipantI’ve updated all events calendar plugins to the latest version and I’m still seeing the issue.
September 13, 2017 at 7:07 am #1348537Andras
KeymasterHello Marci,
I’m sorry we still didn’t manage to move too much forward. Rest assured, I’m going to stay with you until we find a solution for this.
I checked your http://staging-insider.energytrust.org/events-cal/community/add page and that shows a Fatal error on the page.
There I also realized that you have some overrides in place for the calendar. Might be they are not compatible with the newer versions of our plugins.
The best way to check that is to switch to a default theme like twentyseventeen and check if the issues persist. (Also deactivating all other plugins would be helpful to eliminate any compatibility issues coming from them.)
Another possibility of checking would be to rename the “tribe-events” folder under “/wp-content/themes/etoinsider/tribe-events” to something else, so the overrides in “tribe-events” don’t kick in.
Please check this as next and when testing please check both 1) creating a recurring event; and 2) the community/add page whether the fatal error is still there.
If the issue persists then …
1. … please give me the details of the event and the recurrence rules that you want to create, so I can try to test.
2. … is there possibly another site where we could test / reproduce this issue? This would help us see whether it is unique to the current staging site or a more generic issue.
Though I really hope disabling the customizations will take us a step forward.
Cheers,
AndrasSeptember 21, 2017 at 9:38 am #1352791Marci Marshall
ParticipantThe issue still persists even after renaming the tribe-events folder to something else. Regarding the details of the recurrence, I just try to create an event with a single recurrence (clicking the “Once” button and selecting a date in the next month). Then I click publish and I see the same error. The issue is also present on https://insider.energytrust.org, which is hosted on the same server.
September 22, 2017 at 7:26 am #1353398Andras
KeymasterThis reply is private.
October 2, 2017 at 3:44 pm #1358012Marci Marshall
ParticipantThis reply is private.
October 3, 2017 at 3:16 am #1358178Andras
KeymasterThis reply is private.
October 4, 2017 at 12:01 pm #1359147Marci Marshall
ParticipantThis reply is private.
October 5, 2017 at 1:56 am #1359392Andras
KeymasterThis reply is private.
October 5, 2017 at 9:22 am #1359656Marci Marshall
ParticipantThis reply is private.
-
AuthorPosts
- The topic ‘Fatal error: memory exhausted when trying to create a recurring event’ is closed to new replies.
