Home › Forums › Calendar Products › Events Calendar PRO › PHP Fatal error: Allowed memory size of 100663296 bytes exhausted (tried to all
- This topic has 6 replies, 2 voices, and was last updated 8 years, 8 months ago by
Gail Arcadipane.
-
AuthorPosts
-
August 28, 2017 at 2:34 pm #1341427
Gail Arcadipane
ParticipantI’m getting a PHP Fatal Memory error with Events Calendar PRO. The plugin seems to work, but I cannot view Widgets or Customize page. I have been able to add many events to the calendar and I can view the calendar on my website, but these admin pages cannot be viewed.
According to phpinfo :memory_limit 96M
I have the following line in my wp-config:
define(‘WP_MEMORY_LIMIT’, ’96M’);If I disable “The Events Calendar PRO”, the admin ages will be displayed again.
I disabled all other plugins and activated them 1 by 1. It appears to be a conflict with FooGallery.I am using the Enfold theme by Kreisi. The site is still in development, so you will not be able to see it unless you change your host file to point to the correct IP address.
Any ideas on how to fix the issue?
August 28, 2017 at 8:45 pm #1341564Victor
MemberHi Gail!
Thanks for reaching out to us. Let me help you with that issue.
First, please try increasing the WP_MEMORY_LIMIT to 128MB or 256MB and see if that solves the issue.
If it doesn’t, please enable WP_DEBUG and WP_DEBUG_LOG ? This will create a debug.log file inside the /wp-content directory.
After that, try navigating a few times into the page where you are having the issue, so that in case there is an error, it will be saved into the debug.log file.
Please share that log file with us so we can spot the problem from there.
Let us know how that goes.
Thanks,
VictorAugust 29, 2017 at 2:41 pm #1342076Gail Arcadipane
ParticipantHere is the text of the debug.log after navigating to the Appearance-Customize page in admin:
[29-Aug-2017 21:18:44 UTC] the-events-calendar/common - Log: Initializing Tribe Events on Aug, 29th at 09:08:44 pm [29-Aug-2017 21:18:45 UTC] the-events-calendar/common - Log: Initializing Tribe Events on Aug, 29th at 09:08:45 pm [29-Aug-2017 21:19:05 UTC] the-events-calendar/common - Log: Initializing Tribe Events on Aug, 29th at 09:08:05 pm [29-Aug-2017 21:19:32 UTC] the-events-calendar/common - Log: Initializing Tribe Events on Aug, 29th at 09:08:32 pm [29-Aug-2017 21:19:34 UTC] PHP Fatal error: Allowed memory size of 100663296 bytes exhausted (tried to allocate 81 bytes) in /home/smcchamber/public_html/wp-includes/wp-db.php on line 2416 [29-Aug-2017 21:19:42 UTC] the-events-calendar/common - Log: Initializing Tribe Events on Aug, 29th at 09:08:42 pm [29-Aug-2017 21:19:45 UTC] the-events-calendar/common - Log: Initializing Tribe Events on Aug, 29th at 09:08:45 pm [29-Aug-2017 21:20:09 UTC] the-events-calendar/common - Log: Initializing Tribe Events on Aug, 29th at 09:08:09 pm [29-Aug-2017 21:20:10 UTC] PHP Fatal error: Allowed memory size of 100663296 bytes exhausted (tried to allocate 83 bytes) in /home/smcchamber/public_html/wp-includes/wp-db.php on line 2416I currently do not have the foogallery plugin activated, and I’m still getting the issue on the customize page. I do not get it with foo gallery deactivated on the widget page. In both cases, the site fails on the events countdown widget.
August 29, 2017 at 9:21 pm #1342162Victor
MemberHi Gail!
Thanks for coming back with the logs.
I can see the Fatal errors are ocurring in one of WordPress core files, but we cannot tell what plugin/theme might be triggering this. And there doesn’t seem to be any other errors that would indicate something else is not working.
Having a closer look at your system information, it seems you have quiet a few plugins installed. And depending on the number of events/posts your site currently has, 96M wouldn’t seem to be enough.
Have you tried raising the WP_MEMORY_LIMIT to see if it solves the issue? Please do so and let me know how it goes.
Thanks,
VictorAugust 30, 2017 at 8:03 am #1342353Gail Arcadipane
ParticipantI had my hosting provider up the php memory limit to 128 and it seems to have resolved the issue for now.
August 30, 2017 at 9:36 am #1342510Victor
MemberHi Gail!
Glad to hear you could solve the issue. Thanks for following up to let us know about it.
I’ll close this now, but feel free to open a new topic if anything comes up and we’d be happy to help.
Cheers,
Victor -
AuthorPosts
- The topic ‘PHP Fatal error: Allowed memory size of 100663296 bytes exhausted (tried to all’ is closed to new replies.
