custom.php file error removed widgets closing