• Resolved FascinationDesign

    (@fascinationdesign)


    Fatal Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 130968 bytes) in home/—— client info removed —-/plugins/the-events-calendar/common/vendor/lucatume/di52/src/tad/DI52/Bindings/Resolver.php on line 119

    It appears to want 134MB of memory from my server which is excessive.
    I’ve been set to 32MB for … ages and no problems. There’s no php.ini file for the site this is on.

    And I keep running into this error trying to create new events since today’s WP 4.7.1 update. Even once trying to delete a malformed event listing. I haven’t dug into it too much further but it’s happened enough now that I want to report it.

    You are likely going to be seeing a problem with people who have paid for the plugin as well with this type of thing.

    Line 119 it’s referencing repeatedly doesn’t present an obvious fix to me. 119 is:
    throw new InvalidArgumentException(“No implementations array was tagged [$tag]”);

    Which is part of this:

    /**
    * Retrieves an array of bound implementations resolving them.
    *
    * @param string $tag
    * @return array An array of resolved bound implementations.
    */
    public function tagged($tag)
    {
    if (!is_string($tag)) {
    throw new InvalidArgumentException(‘Tag must be a string.’);
    }
    if (!isset($this->tagged[$tag])) {
    throw new InvalidArgumentException(“No implementations array was tagged [$tag]”);
    }

    return array_map(array($this, ‘resolve’), $this->tagged[$tag]);
    }

Viewing 7 replies - 1 through 7 (of 7 total)
  • Same problem..

    Hi @fascinationdesign & @digitalsignagepress,

    Thanks for using The Events Calendar, I’m happy to help! In order to help, I would like to get some more information from you, if I can:

    -First, can you please confirm that you’re both on the latest version of our plugin? (4.4.0.1)

    -Second, if you could please test for conflicts by following this documentation? Let me know what you find. This will help me determine how deeply we need to look into the specific configuration of your site, or if this is a bug. ??

    -Lastly, can you send me a screenshot of this error that’s being thrown?

    Thanks!
    Shelby ??

    • This reply was modified 7 years, 10 months ago by shelbelliott.
    Thread Starter FascinationDesign

    (@fascinationdesign)

    Version 4.4.0.1

    Ok so I had a theory that I ended up trying because the whole turn off all of your plugins and change your theme thing is a bit … long. I know why it’s necessary but it’s a pain in the ____.

    My theory was based on seeing something in a previous thread that I thought might apply to this as well.

    I went to the events (plugin in the left dashboard menu) > settings > and scrolled to the bottom and hit “save changes”

    There was something mentioned in another thread about how something between the last version and this version of the Calendar plugin was just enough different that what was saved to the database for the page wasn’t quite right and was causing problems. I think the suggestion was to actually change it from “events” to something else and then back again. But that might not even have been necessary because all I did was hit “save changes.” And maybe it wasn’t even the page name but something else from the settings.

    So far, since I have done that I have not been able to recreate the error again.

    Fingers crossed that this is as simple as that. I will follow back around though if it comes up again though and run through the process of testing for conflicts.

    Thread Starter FascinationDesign

    (@fascinationdesign)

    I spoke too soon. Emptied the trash and it came up again. But the fact that I now can not get it to come up consistently means I’m not sure how easy it will be to identify potentially conflicting plugins.

    The error is:
    Fatal Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 130968 bytes) in home/—— client acct name removed here—-/plugins/the-events-calendar/common/vendor/lucatume/di52/src/tad/DI52/Bindings/Resolver.php on line 119

    Can’t do screen shots on the forum.

    Thread Starter FascinationDesign

    (@fascinationdesign)

    Annnnnd … I’m wondering if an older event triggered the error one more time when I cleared the trash because I again can not get it to throw that error. Not even made it to plugin or theme testing because I can’t recreate it again.

    Only thing I can figure is there was still one malformed event post from before I re-saved the settings that caused the error when I went to empty the trash posts for events.

    Hi @fascinationdesign,

    Thanks for following up again–so sorry to hear that you’re still experiencing issues with this. Can you confirm if the problem persists since your last old event purge OR since updating to the latest version of The Events Calendar (version 4.4.1.1)? Let us know, and we’ll see where we can go from there.

    Thank you!

    Hey @fascinationdesign,

    Glad to see you’re not having this issue anymore! That is a strange one for sure! Be sure to reach out in the future if you have questions. ??

    Best,

    Shelby

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Events Calendar Memory Leak in programming? or WP 4.7.1 conflict’ is closed to new replies.