Events Calendar Memory Leak in programming? or WP 4.7.1 conflict
-
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]);
}
- The topic ‘Events Calendar Memory Leak in programming? or WP 4.7.1 conflict’ is closed to new replies.