Fixed hundreds of errors showing every page load