Skip to content

Instantly share code, notes, and snippets.

@cam8001
Created October 25, 2012 23:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cam8001/3956062 to your computer and use it in GitHub Desktop.
Save cam8001/3956062 to your computer and use it in GitHub Desktop.
backtrace of _drupal_log_error notice
<?php
array(
0 =>
array (
'file' => '/Users/cam8001/Sites/drupal/core/includes/bootstrap.inc',
'line' => 2220,
'function' => '_drupal_log_error',
'args' =>
array (
0 =>
array (
'%type' => 'Symfony\\Component\\DependencyInjection\\Exception\\InvalidArgumentException',
'!message' => 'The service definition &quot;keyvalue&quot; does not exist.',
'%function' => 'Symfony\\Component\\DependencyInjection\\ContainerBuilder->getDefinition()',
'%file' => '/Users/cam8001/Sites/drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/ContainerBuilder.php',
'%line' => 690,
'severity_level' => 3,
),
1 => true,
),
),
1 =>
array (
'function' => '_drupal_exception_handler',
'args' =>
array (
0 =>
Symfony\Component\DependencyInjection\Exception\InvalidArgumentException::__set_state(array(
'message' => 'The service definition "keyvalue" does not exist.',
'string' => '',
'code' => 0,
'file' => '/Users/cam8001/Sites/drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/ContainerBuilder.php',
'line' => 690,
'trace' =>
array (
0 =>
array (
'file' => '/Users/cam8001/Sites/drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/ContainerBuilder.php',
'line' => 338,
'function' => 'getDefinition',
'class' => 'Symfony\\Component\\DependencyInjection\\ContainerBuilder',
'type' => '->',
'args' =>
array (
0 => 'keyvalue',
),
),
1 =>
array (
'file' => '/Users/cam8001/Sites/drupal/core/includes/bootstrap.inc',
'line' => 2487,
'function' => 'get',
'class' => 'Symfony\\Component\\DependencyInjection\\ContainerBuilder',
'type' => '->',
'args' =>
array (
0 => 'keyvalue',
),
),
2 =>
array (
'file' => '/Users/cam8001/Sites/drupal/core/includes/install.core.inc',
'line' => 921,
'function' => 'state',
'args' =>
array (
),
),
3 =>
array (
'file' => '/Users/cam8001/Sites/drupal/core/includes/install.core.inc',
'line' => 377,
'function' => 'install_verify_completed_task',
'args' =>
array (
),
),
4 =>
array (
'file' => '/Users/cam8001/Sites/drupal/core/includes/install.core.inc',
'line' => 82,
'function' => 'install_begin_request',
'args' =>
array (
0 =>
array (
'parameters' =>
array (
'profile' => 'minimal',
'locale' => 'en',
),
'forms' =>
array (
'install_settings_form' =>
array (
'driver' => 'mysql',
'mysql' =>
array (
'database' => 'drupal',
'username' => 'root',
'password' => 'root',
'host' => 'localhost',
'port' => '',
'driver' => 'mysql',
'prefix' => '',
),
'op' => 'Save and continue',
),
'install_configure_form' =>
array (
'site_name' => 'Site-Install',
'site_mail' => 'admin@example.com',
'account' =>
array (
'name' => 'admin',
'mail' => 'admin@example.com',
'pass' =>
array (
'pass1' => 'US76YXoKeE',
'pass2' => 'US76YXoKeE',
),
),
'update_status_module' =>
array (
1 => true,
2 => true,
),
'clean_url' => true,
'op' => 'Save and continue',
),
),
'interactive' => false,
'active_task' => NULL,
'completed_task' => NULL,
'config_verified' => false,
'database_tables_exist' => false,
'database_verified' => true,
'installation_finished' => false,
'translations' =>
array (
),
'parameters_changed' => false,
'profile_info' =>
array (
),
'profiles' =>
array (
),
'server' =>
array (
),
'settings_verified' => false,
'stop_page_request' => false,
'task_not_complete' => false,
'tasks_performed' =>
array (
),
),
),
),
5 =>
array (
'file' => '/Users/cam8001/Documents/sources/drupal/drush/commands/core/drupal/site_install.inc',
'line' => 59,
'function' => 'install_drupal',
'args' =>
array (
0 =>
array (
'parameters' =>
array (
'profile' => 'minimal',
'locale' => 'en',
),
'forms' =>
array (
'install_settings_form' =>
array (
'driver' => 'mysql',
'mysql' =>
array (
'database' => 'drupal',
'username' => 'root',
'password' => 'root',
'host' => 'localhost',
'port' => '',
'driver' => 'mysql',
'prefix' => '',
),
'op' => 'Save and continue',
),
'install_configure_form' =>
array (
'site_name' => 'Site-Install',
'site_mail' => 'admin@example.com',
'account' =>
array (
'name' => 'admin',
'mail' => 'admin@example.com',
'pass' =>
array (
'pass1' => 'US76YXoKeE',
'pass2' => 'US76YXoKeE',
),
),
'update_status_module' =>
array (
1 => true,
2 => true,
),
'clean_url' => true,
'op' => 'Save and continue',
),
),
),
),
),
6 =>
array (
'file' => '/Users/cam8001/Documents/sources/drupal/drush/commands/core/site_install.drush.inc',
'line' => 152,
'function' => 'drush_core_site_install_version',
'args' =>
array (
0 => 'minimal',
1 =>
array (
),
),
),
7 =>
array (
'function' => 'drush_core_site_install',
'args' =>
array (
0 => 'minimal',
),
),
8 =>
array (
'file' => '/Users/cam8001/Documents/sources/drupal/drush/includes/command.inc',
'line' => 324,
'function' => 'call_user_func_array',
'args' =>
array (
0 => 'drush_core_site_install',
1 =>
array (
0 => 'minimal',
),
),
),
9 =>
array (
'file' => '/Users/cam8001/Documents/sources/drupal/drush/includes/command.inc',
'line' => 198,
'function' => '_drush_invoke_hooks',
'args' =>
array (
0 => 'site-install',
1 =>
array (
0 => 'minimal',
),
2 => 'core',
),
),
10 =>
array (
'function' => 'drush_command',
'args' =>
array (
0 => 'minimal',
),
),
11 =>
array (
'file' => '/Users/cam8001/Documents/sources/drupal/drush/includes/command.inc',
'line' => 165,
'function' => 'call_user_func_array',
'args' =>
array (
0 => 'drush_command',
1 =>
array (
0 => 'minimal',
),
),
),
12 =>
array (
'file' => '/Users/cam8001/Documents/sources/drupal/drush/drush.php',
'line' => 90,
'function' => 'drush_dispatch',
'args' =>
array (
0 =>
array (
'description' => 'Install Drupal along with modules/themes/configuration using the specified install profile.',
'arguments' =>
array (
0 => 'minimal',
),
'options' =>
array (
'db-url' =>
array (
'description' => 'A Drupal 6 style database URL. Only required for initial install - not re-install.',
'example-value' => 'mysql://root:pass@127.0.0.1/db',
),
'db-prefix' => 'An optional table prefix to use for initial install. Can be a key-value array of tables/prefixes in a drushrc file (not the command line).',
'db-su' =>
array (
'description' => 'Account to use when creating a new database. Must have Grant permission (mysql only). Optional.',
'example-value' => 'root',
),
'db-su-pw' =>
array (
'description' => 'Password for the "db-su" account. Optional.',
'example-value' => 'pass',
),
'account-name' => 'uid1 name. Defaults to admin',
'account-pass' => 'uid1 pass. Defaults to a randomly generated password. If desired, set a fixed password in drushrc.php.',
'account-mail' => 'uid1 email. Defaults to admin@example.com',
'locale' =>
array (
'description' => 'A short language code. Sets the default site language. Language files must already be present. You may use download command to get them.',
'example-value' => 'en-GB',
),
'clean-url' => 'Defaults to 1',
'site-name' => 'Defaults to Site-Install',
'site-mail' => 'From: for system mailings. Defaults to admin@example.com',
'sites-subdir' =>
array (
'description' => 'Name of directory under \'sites\' which should be created. Only needed when the subdirectory does not already exist. Defaults to \'default\'',
'value' => 'required',
'example-value' => 'directory_name',
),
),
'examples' =>
array (
'drush site-install expert --locale=uk' => '(Re)install using the expert install profile. Set default language to Ukranian.',
'drush site-install --db-url=mysql://root:pass@localhost:port/dbname' => 'Install using the specified DB params.',
'drush site-install --db-url=sqlite://sites/example.com/files/.ht.sqlite' => 'Install using SQLite (D7+ only).',
'drush site-install --account-name=joe --account-pass=mom' => 'Re-install with specified uid1 credentials.',
'drush site-install standard install_configure_form.site_default_country=FR my_profile_form.my_settings.key=value' => 'Pass additional arguments to the profile (D7 example shown here - for D6, omit the form id).',
),
'bootstrap' => 1,
'aliases' =>
array (
0 => 'si',
),
'command' => 'site-install',
'command-hook' => 'site-install',
'callback arguments' =>
array (
),
'commandfile' => 'core',
'path' => '/Users/cam8001/Documents/sources/drupal/drush/commands/core',
'engines' =>
array (
),
'callback' => 'drush_command',
'sections' =>
array (
'examples' => 'Examples',
'arguments' => 'Arguments',
'options' => 'Options',
),
'required-arguments' => false,
'sub-options' =>
array (
),
'allow-additional-options' => false,
'core' =>
array (
),
'scope' => 'site',
'drupal dependencies' =>
array (
),
'drush dependencies' =>
array (
),
'handle-remote-commands' => false,
'strict-option-handling' => false,
'bootstrap_errors' =>
array (
),
'topics' =>
array (
),
'hidden' => false,
'is_alias' => true,
'argument-description' =>
array (
'profile' => 'the install profile you wish to run. defaults to \'default\' in D6, \'standard\' in D7+',
'key=value...' => 'any additional settings you wish to pass to the profile. Fully supported on D7+, partially supported on D6 (single step configure forms only). The key is in the form [form name].[parameter name] on D7 or just [parameter name] on D6.',
),
),
),
),
13 =>
array (
'file' => '/Users/cam8001/Documents/sources/drupal/drush/drush.php',
'line' => 59,
'function' => '_drush_bootstrap_and_dispatch',
'args' =>
array (
),
),
14 =>
array (
'file' => '/Users/cam8001/Documents/sources/drupal/drush/drush.php',
'line' => 14,
'function' => 'drush_main',
'args' =>
array (
),
),
),
'previous' => NULL,
'xdebug_message' => '
Symfony\\Component\\DependencyInjection\\Exception\\InvalidArgumentException: The service definition "keyvalue" does not exist. in /Users/cam8001/Sites/drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/ContainerBuilder.php on line 690
Call Stack:
0.0017 700464 1. {main}() /Users/cam8001/Documents/sources/drupal/drush/drush.php:0
0.0233 4809792 2. drush_main() /Users/cam8001/Documents/sources/drupal/drush/drush.php:14
0.2413 10725024 3. _drush_bootstrap_and_dispatch() /Users/cam8001/Documents/sources/drupal/drush/drush.php:59
0.4379 13197048 4. drush_dispatch() /Users/cam8001/Documents/sources/drupal/drush/drush.php:90
0.8507 13212576 5. call_user_func_array() /Users/cam8001/Documents/sources/drupal/drush/includes/command.inc:165
0.8507 13212912 6. drush_command() /Users/cam8001/Documents/sources/drupal/drush/includes/command.inc:0
0.8514 13213296 7. _drush_invoke_hooks() /Users/cam8001/Documents/sources/drupal/drush/includes/command.inc:198
0.9717 14489664 8. call_user_func_array() /Users/cam8001/Documents/sources/drupal/drush/includes/command.inc:324
0.9717 14490000 9. drush_core_site_install() /Users/cam8001/Documents/sources/drupal/drush/includes/command.inc:0
0.9739 14516560 10. drush_core_site_install_version() /Users/cam8001/Documents/sources/drupal/drush/commands/core/site_install.drush.inc:152
1.0055 15127944 11. install_drupal() /Users/cam8001/Documents/sources/drupal/drush/commands/core/drupal/site_install.inc:59
Variables in local scope (#11):
$e = class Symfony\\Component\\DependencyInjection\\Exception\\InvalidArgumentException { protected $message = \'The service definition "keyvalue" does not exist.\'; private ${Exception}:string = \'\'; protected $code = 0; protected $file = \'/Users/cam8001/Sites/drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/ContainerBuilder.php\'; protected $line = 690; private ${Exception}:trace = array (0 => array (...), 1 => array (...), 2 => array (...), 3 => array (...), 4 => array (...), 5 => array (...), 6 => array (...), 7 => array (...), 8 => array (...), 9 => array (...), 10 => array (...), 11 => array (...), 12 => array (...), 13 => array (...), 14 => array (...)); private ${Exception}:previous = NULL; public $xdebug_message = \'\\nSymfony\\\\Component\\\\DependencyInjection\\\\Exception\\\\InvalidArgumentException: The service definition "keyvalue" does not exist. in /Users/cam8001/Sites/drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/ContainerBuilder.php on line 690\\n\\nCall Stack:\\n 0.0017 700464 1. {main}() /Users/cam8001/Documents/sources/drupal/drush/drush.php:0\\n 0.0233 4809792 2. drush_main() /Users/cam8001/Documents/sources/drupal/drush/drush.php:14\\n 0.2413 10725024 3. _...\' }
$install_state = array (\'parameters\' => array (\'profile\' => \'minimal\', \'locale\' => \'en\'), \'forms\' => array (\'install_settings_form\' => array (...), \'install_configure_form\' => array (...)), \'interactive\' => FALSE, \'active_task\' => NULL, \'completed_task\' => NULL, \'config_verified\' => FALSE, \'database_tables_exist\' => FALSE, \'database_verified\' => TRUE, \'installation_finished\' => FALSE, \'translations\' => array (), \'parameters_changed\' => FALSE, \'profile_info\' => array (), \'profiles\' => array (), \'server\' => array (), \'settings_verified\' => FALSE, \'stop_page_request\' => FALSE, \'task_not_complete\' => FALSE, \'tasks_performed\' => array ())
$interactive = FALSE
$output = *uninitialized*
$settings = array (\'parameters\' => array (\'profile\' => \'minimal\', \'locale\' => \'en\'), \'forms\' => array (\'install_settings_form\' => array (...), \'install_configure_form\' => array (...)))
$state = *uninitialized*
',
)),
),
),
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment