• Resolved woozys

    (@woozys)


    Hi

    I have around 20,000 events/locations in my database and as I went over 5,000 records I started getting the following error.

    I can access all other Admin panel settings, however, when I try to open Events > Settings I get this:

    Fatal error: Out of memory (allocated 100925440) (tried to allocate 44 bytes) in /homepages/45/d391709137/htdocs/eventhread.com/wordpress/wp-includes/wp-db.php on line 1545

    Any ideas on how to fix this?

    Thank you in advance!

    https://www.ads-software.com/extend/plugins/events-manager/

Viewing 10 replies - 1 through 10 (of 10 total)
  • agelonwl

    (@angelonwl)

    Thread Starter woozys

    (@woozys)

    Thanks for your answer, agelonwl, but I have already increased both my wp memory and server memory to 3000M. I am actually running it on a local MAMP server so there are no imposed restrictions from the host.

    I am still not able to open the Settings page.

    There is still something wrong within the Settings page request. I can open fine Locations, Events, Bookings and any other pages just fine, but for some reason Settings page requires an extraordinary amount of memory to show up.

    Perhaps someone who understands the Events Manager infrastructure could elaborate?

    Thanks,
    Tadas

    agelonwl

    (@angelonwl)

    just to narrow down the problem have you tried to temporarily:

    – deactivating all other plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).
    – switching to the default theme to rule out any theme-specific problems

    Thread Starter woozys

    (@woozys)

    I have deactivated all plugins except Events Manager and switched to a default Twenty Ten theme. Problem still persists in the Events > Settings page.

    It loads the General Settings tab and then gets stuck for about 30s only to spew a Fatal Error message.

    When I had around 10,000 records it would get stuck but still load the rest of the settings, however, when I reached +20k events/locations, the Settings page stopped loading all together.

    What is surprising that Events and Locations lists are loading just fine and I have no performance issues in the front end.

    Thanks for your help.

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    it might be a problem with users, which is partially related to a WP bug (), but partially related to the way we load all users into a ddm too. do you have a lot of users as well?

    https://core.trac.www.ads-software.com/ticket/23609

    try the latest dev version, it may fix the issue for you.

    Thread Starter woozys

    (@woozys)

    hey, actually, we have no users, just one admin account. thanks

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    hm…. maybe it’s the default locations dropdown.

    try commenting out this line on admin/em-options.php

    $EM_Locations = EM_Locations::get();

    around line 311

    Thread Starter woozys

    (@woozys)

    that was it! now works just fine!

    Thank you very much, Marcus, you’ve developed a truly great plugin!

    glad it worked.

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    thx for confirming… I’m going to have a think about that one, maybe instead of a dropdown we can change that to a input field for the location id for now, and come up with a better solution soon.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Fatal error: Out of memory’ is closed to new replies.