Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Fatal error: Uncaught Error: Call to undefined method Error::error_handler() in C:xampphtdocsarquivofuelcorebootstrap.php:100 Stack trace: #0 C:xampphtdocsarquivofuelcorebootstrap.php(43): {closure}(8, 'Undefined varia...', 'C:\xampp\htdocs...', 43, Array) #1 [internal function]: {closure}() #2 {main} thrown in C:xampphtdocsarquivofuelcorebootstrap.php on line 100
- Fatal error: Uncaught Error: Call to undefined method Error::exception_handler() in C:xampphtdocsarquivofuelcorebootstrap.php:84 Stack trace: #0 [internal function]: {closure}(Object(FuelCoreDatabase_Exception)) #1 {main} thrown in C:xampphtdocsarquivofuelcorebootstrap.php on line 84
- Fatal error: Uncaught Error: Call to undefined method Error::error_handler() in C:xampphtdocsarquivofuelcorebootstrap.php:100 Stack trace: #0 C:xampphtdocsarquivofuelcorebootstrap.php(43): {closure}(8, 'Undefined varia...', 'C:\xampp\htdocs...', 43, Array) #1 [internal function]: {closure}() #2 {main} thrown in C:xampphtdocsarquivofuelcorebootstrap.php on line 100
- set_exception_handler(function (Exception $e)
- {
- // reset the autoloader
- Autoloader::_reset();
- // deal with PHP bugs #42098/#54054
- if ( ! class_exists('Error'))
- {
- include COREPATH.'classes/error.php';
- class_alias('FuelCoreError', 'Error');
- class_alias('FuelCorePhpErrorException', 'PhpErrorException');
- }
- return Error::exception_handler($e);
- });
- set_error_handler(function ($severity, $message, $filepath, $line)
- {
- // reset the autoloader
- Autoloader::_reset();
- // deal with PHP bugs #42098/#54054
- if ( ! class_exists('Error'))
- {
- include COREPATH.'classes/error.php';
- class_alias('FuelCoreError', 'Error');
- class_alias('FuelCorePhpErrorException', 'PhpErrorException');
- }
- return Error::error_handler($severity, $message, $filepath, $line);
- });
Add Comment
Please, Sign In to add comment