PHP Fatal error: Allowed memory size of 100663296 bytes exhausted (tried to all

Home Forums Calendar Products Events Calendar PRO PHP Fatal error: Allowed memory size of 100663296 bytes exhausted (tried to all

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1341427
    Gail Arcadipane
    Participant

    I’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?

    #1341564
    Victor
    Member

    Hi 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,
    Victor

    #1342076
    Gail Arcadipane
    Participant

    Here 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 2416
    

    I 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.

    #1342162
    Victor
    Member

    Hi 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,
    Victor

    #1342353
    Gail Arcadipane
    Participant

    I had my hosting provider up the php memory limit to 128 and it seems to have resolved the issue for now.

    #1342510
    Victor
    Member

    Hi 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

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘PHP Fatal error: Allowed memory size of 100663296 bytes exhausted (tried to all’ is closed to new replies.