Created
January 23, 2012 14:38
-
-
Save glennpratt/1663441 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Fatal error: Uncaught exception 'ErrorException' with message 'Notice: Undefined variable: undefined_var in /srv/www/current/www/sites/all/modules/allplayers/misc/misc.module line 14' in /srv/www/current/www/sites/all/libraries/Symfony/src/Symfony/Component/HttpKernel/Debug/ErrorHandler.php:65 | |
| Stack trace: | |
| #0 /srv/www/current/www/sites/all/modules/allplayers/misc/misc.module(14): Symfony\Component\HttpKernel\Debug\ErrorHandler->handle(8, 'Undefined varia...', '/srv/www/curren...', 14, Array) | |
| #1 [internal function]: misc_boot() | |
| #2 /srv/www/current/www/includes/module.inc(512): call_user_func_array('misc_boot', Array) | |
| #3 /srv/www/current/www/includes/bootstrap.inc(748): module_invoke('misc', 'boot') | |
| #4 /srv/www/current/www/includes/bootstrap.inc(1511): bootstrap_invoke_all('boot') | |
| #5 /srv/www/current/www/includes/bootstrap.inc(1411): _drupal_bootstrap(5) | |
| #6 /srv/www/current/www/index.php(15): drupal_bootstrap(8) | |
| #7 {main} thrown in /srv/www/current/www/sites/all/libraries/Symfony/src/Symfony/Component/HttpKernel/Debug/ErrorHandler.php on line 65 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Implementation of hook_boot(). | |
| */ | |
| function misc_boot() { | |
| // Bring in the autoloader, which is above Drupal root. | |
| require_once '../autoload.php'; | |
| Symfony\Component\HttpKernel\Debug\ErrorHandler::register(E_NOTICE); | |
| $var = $undefined_var; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment