Skip to content

Instantly share code, notes, and snippets.

@HongPong
Last active June 29, 2018 18:40
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 HongPong/acd858ae2f46be46e7c91a4b76228144 to your computer and use it in GitHub Desktop.
Save HongPong/acd858ae2f46be46e7c91a4b76228144 to your computer and use it in GitHub Desktop.
debugging drupal_module_upgrader
logfile from drupal module upgrader
Using the Drush script found at /home/web/.config/composer/global/drush/drush/vendor/drush/drush/drush.launcher using pcntl_exec
Cache HIT cid: 8.1.17-commandfiles-0-ed536466710c134b3a425785534aa1d8 [0.01 sec, 2.97 MB] [debug]
Bootstrap to phase 0. [0.06 sec, 7.6 MB] [bootstrap]
Bootstrap to phase 1. [0.06 sec, 7.6 MB] [bootstrap]
Drush bootstrap phase : bootstrap_drupal_root() [0.07 sec, 8.32 MB] [bootstrap]
Initialized Drupal 8.5.3 root directory at /public_html/web [0.07 sec, 8.33 MB] [bootstrap]
Find command files for phase 1 (max=1) [0.07 sec, 7.12 MB] [debug]
Cache HIT cid: 8.1.17-commandfiles-1-11a26f3ea186a7e29937118e92c385ca [0.07 sec, 7.12 MB] [debug]
Cache HIT cid: 8.1.17-annotationfiles-1-79a54cfdeb9a0b52be55c11dda13652a [0.08 sec, 7.2 MB] [debug]
Bootstrap to phase 5. [0.09 sec, 8.47 MB] [bootstrap]
Drush bootstrap phase : bootstrap_drupal_site() [0.1 sec, 9 MB] [bootstrap]
Initialized Drupal site default at sites/default [0.1 sec, 9 MB] [bootstrap]
Find command files for phase 2 (max=5) [0.1 sec, 7.73 MB] [debug]
Drush bootstrap phase : bootstrap_drupal_configuration() [0.1 sec, 7.73 MB] [bootstrap]
Create from request [0.1 sec, 7.74 MB] [debug]
add service modifier [0.1 sec, 7.93 MB] [debug]
Find command files for phase 3 (max=5) [0.1 sec, 7.93 MB] [debug]
sql-query: SELECT 1; [0.11 sec, 8.06 MB] [notice]
Executing: mysql --defaults-extra-file=/tmp/drush_oNapPZ --database=..... --host=localhost --port=3306 --silent < /tmp/drush_GNoItM
1
sql-query: SHOW TABLES; [0.12 sec, 8.06 MB] [notice]
Executing: mysql --defaults-extra-file=/tmp/drush_w4yFCq --database=..... --host=localhost --port=3306 --silent < /tmp/drush_CwP0dd
batch
cache_bootstrap
cache_config
cache_container
cache_data
cache_default
cache_discovery
cache_dynamic_page_cache
cache_entity
cache_menu
cache_page
cache_render
cachetags
config
file_managed
file_usage
flood
key_value
key_value_expire
menu_tree
node
node__body
node_access
node_field_data
node_field_revision
node_revision
node_revision__body
queue
router
semaphore
sequences
sessions
styleswitcher__class
styleswitcher__constant
styleswitcher__function
styleswitcher__function_call
url_alias
user__roles
users
users_data
users_field_data
watchdog
Drush bootstrap phase : bootstrap_drupal_database() [0.13 sec, 8.06 MB] [bootstrap]
Successfully connected to the Drupal database. [0.13 sec, 8.06 MB] [bootstrap]
Find command files for phase 4 (max=5) [0.13 sec, 8.06 MB] [debug]
Drush bootstrap phase : bootstrap_drupal_full() [0.13 sec, 8.06 MB] [bootstrap]
About to bootstrap the Drupal 8 Kernel. [0.13 sec, 8.06 MB] [debug]
Finished bootstraping the Drupal 8 Kernel. [0.16 sec, 12.07 MB] [debug]
Cache HIT cid: 8.1.17-install_profile-66ecfeb9791a023150773849f1550c5d [0.16 sec, 12.15 MB] [debug]
Find command files for phase 5 (max=5) [0.16 sec, 12.21 MB] [debug]
Cache HIT cid: 8.1.17-install_profile-66ecfeb9791a023150773849f1550c5d [0.16 sec, 12.21 MB] [debug]
Cache HIT cid: 8.1.17-commandfiles-5-c68f869c1795f1c308dc66a193eb7e9d [0.17 sec, 13.11 MB] [debug]
Bootstrap to phase 1. [0.19 sec, 14.46 MB] [bootstrap]
Found command: dmu-upgrade (commandfile=drupalmoduleupgrader) [0.19 sec, 14.46 MB] [bootstrap]
Calling hook drush_drupalmoduleupgrader_dmu_upgrade_validate [0.19 sec, 14.68 MB] [debug]
Returned from hook drush_drupalmoduleupgrader_dmu_upgrade_validate [0.19 sec, 14.82 MB] [debug]
Calling hook drush_drupalmoduleupgrader_dmu_upgrade [0.19 sec, 14.85 MB] [debug]
Indexing...done.
Executing plugin: blocks [2.98 sec, 21.97 MB] [notice]
styleswitcher does not implement hook_block_configure. [2.78 sec, 22.01 MB] [warning]
Use of undefined constant DRUPAL_CACHE_PER_PAGE - assumed 'DRUPAL_CACHE_PER_PAGE' (this will throw an Error in a future version of PHP) [warning]
ConverterBase.php(73) : eval()'d code:13 [3.01 sec, 21.01 MB]
styleswitcher does not implement hook_block_save. [2.78 sec, 21.02 MB] [warning]
styleswitcher_block_view cannot be executed because it contains logic. [2.78 sec, 21.02 MB] [warning]
Invalid placeholder (!hook) in string: @FIXME [error]
hook_!hook is gone in Drupal 8.
It has been left here by the Drupal Module Upgrader so that you can move its
logic into the appropriate block plugins, which should be in the
src/Plugin/Block directory. Once all logic is moved into the plugins, delete
this hook.
@see https://www.drupal.org/node/1880620 FormattableMarkup.php:242 [3.05 sec, 24.7 MB]
Invalid placeholder (!hook) in string: @FIXME [error]
hook_!hook is gone in Drupal 8.
It has been left here by the Drupal Module Upgrader so that you can move its
logic into the appropriate block plugins, which should be in the
src/Plugin/Block directory. Once all logic is moved into the plugins, delete
this hook.
@see https://www.drupal.org/node/1880620 FormattableMarkup.php:242 [3.06 sec, 24.88 MB]
Executing plugin: _disable:drupal_add_css [3.07 sec, 24.92 MB] [notice]
Executing plugin: _disable:drupal_add_tabledrag [3.08 sec, 24.92 MB] [notice]
Executing plugin: _disable:theme [3.11 sec, 25.71 MB] [notice]
Executing plugin: form_set_value [3.13 sec, 25.8 MB] [notice]
Executing plugin: l [3.14 sec, 26.06 MB] [notice]
Executing plugin: url [3.16 sec, 26.34 MB] [notice]
Executing plugin: user_access [3.17 sec, 26.28 MB] [notice]
Executing plugin: variable_del [3.17 sec, 26.32 MB] [notice]
Executing plugin: variable_get [3.18 sec, 26.41 MB] [notice]
Undefined offset: 1 NodeCollection.php:73 [3.19 sec, 26.37 MB] [notice]
Undefined offset: 1 NodeCollection.php:73 [3.2 sec, 26.4 MB] [notice]
Undefined offset: 1 NodeCollection.php:73 [3.2 sec, 26.41 MB] [notice]
Undefined offset: 1 NodeCollection.php:73 [3.2 sec, 26.42 MB] [notice]
Undefined offset: 1 NodeCollection.php:73 [3.2 sec, 26.43 MB] [notice]
Undefined offset: 1 NodeCollection.php:73 [3.2 sec, 26.44 MB] [notice]
Undefined offset: 1 NodeCollection.php:73 [3.2 sec, 26.44 MB] [notice]
Undefined index: fixme ConverterBase.php:218 [3.2 sec, 26.46 MB] [notice]
Undefined offset: 1 NodeCollection.php:73 [3.2 sec, 26.46 MB] [notice]
Executing plugin: variable_set [3.21 sec, 26.77 MB] [notice]
Executing plugin: grep [3.24 sec, 27.15 MB] [notice]
Executing plugin: hook_form_alter [3.31 sec, 27.07 MB] [notice]
Executing plugin: hook_permission [3.31 sec, 27.1 MB] [notice]
Executing plugin: info [3.34 sec, 26.72 MB] [notice]
Executing plugin: links [3.34 sec, 26.97 MB] [notice]
Executing plugin: PSR4 [3.35 sec, 26.98 MB] [notice]
Executing plugin: routing [3.35 sec, 26.99 MB] [notice]
Executing plugin: tests [3.35 sec, 27.07 MB] [notice]
Executing plugin: unit_tests [3.35 sec, 27.08 MB] [notice]
Returned from hook drush_drupalmoduleupgrader_dmu_upgrade [3.36 sec, 27.19 MB] [debug]
Command dispatch complete [3.36 sec, 27.13 MB] [notice]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment