WARNING(2): "count(): Parameter must be an array or an object that implements Countable"

Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 3366088 bytes) in /usr/www/users/needfu/needfull-things/system/core/logging/LogEvent.inc.php on line 741