This definitely shouldn't be fixed with jQuery. There are at least two ways to fix the problem with other than jQuery:
The hard and proper way. Prefix
Foxee_utils::check_cache()
withstatic
keyword:static function check_cache(/* skip */)
The easy way. Add somewhere in the site configuration files, after other call to
error_reporting()
if there is one:error_reporting(error_reporting() & ~E_STRICT);