@DarkOneMatter sorry i keep forgetting to silence notices :/ just put
error_reporting(E_ALL ^ E_NOTICE);
back in main.php