Guest User

Untitled

a guest
Jun 19th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.84 KB | None | 0 0
  1. 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
  2.  
  3. 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
  4.  
  5. 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
  6.  
  7. set_exception_handler(function (Exception $e)
  8. {
  9. // reset the autoloader
  10. Autoloader::_reset();
  11.  
  12. // deal with PHP bugs #42098/#54054
  13. if ( ! class_exists('Error'))
  14. {
  15. include COREPATH.'classes/error.php';
  16. class_alias('FuelCoreError', 'Error');
  17. class_alias('FuelCorePhpErrorException', 'PhpErrorException');
  18. }
  19.  
  20. return Error::exception_handler($e);
  21. });
  22.  
  23. set_error_handler(function ($severity, $message, $filepath, $line)
  24. {
  25. // reset the autoloader
  26. Autoloader::_reset();
  27.  
  28. // deal with PHP bugs #42098/#54054
  29. if ( ! class_exists('Error'))
  30. {
  31. include COREPATH.'classes/error.php';
  32. class_alias('FuelCoreError', 'Error');
  33. class_alias('FuelCorePhpErrorException', 'PhpErrorException');
  34. }
  35.  
  36. return Error::error_handler($severity, $message, $filepath, $line);
  37. });
Add Comment
Please, Sign In to add comment