when I try to compile after setup:upgrade
It displays for me blank page with error in log file:
main.INFO: Broken reference: the 'logger' element cannot be added as child to 'after.body.start', because the latter doesn't exist [] []
I used this code too to display errors in index.php
ini_set('error_reporting', E_ERROR);
register_shutdown_function("fatal_handler");
function fatal_handler() {
$error = error_get_last();
echo("<pre>");
print_r($error);
}
The home page now display the following error
Array
(
[type] => 8192
[message] => Function mcrypt_module_close() is deprecated
[file] => C:\xampp\htdocs\magento\vendor\magento\framework\Encryption\Crypt.php
[line] => 112
)
Any suggestion?
Thanks,