{"action":"created","issue":{"url":"https://api.github.com/repos/DoSomething/phoenix/issues/7140","repository_url":"https://api.github.com/repos/DoSomething/phoenix","labels_url":"https://api.github.com/repos/DoSomething/phoenix/issues/7140/labels{/name}","comments_url":"https://api.github.com/repos/DoSomething/phoenix/issues/7140/comments","events_url":"https://api.github.com/repos/DoSomething/phoenix/issues/7140/events","html_url":"https://github.com/DoSomething/phoenix/pull/7140","id":184282072,"number":7140,"title":"Update to latest Drupal 7 release... maybe.","user":{"login":"DFurnes","id":583202,"avatar_url":"https://avatars.githubusercontent.com/u/583202?v=3","gravatar_id":"","url":"https://api.github.com/users/DFurnes","html_url":"https://github.com/DFurnes","followers_url":"https://api.github.com/users/DFurnes/followers","following_url":"https://api.github.com/users/DFurnes/following{/other_user}","gists_url":"https://api.github.com/users/DFurnes/gists{/gist_id}","starred_url":"https://api.github.com/users/DFurnes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DFurnes/subscriptions","organizations_url":"https://api.github.com/users/DFurnes/orgs","repos_url":"https://api.github.com/users/DFurnes/repos","events_url":"https://api.github.com/users/DFurnes/events{/privacy}","received_events_url":"https://api.github.com/users/DFurnes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-20T16:45:30Z","updated_at":"2016-10-20T16:59:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/DoSomething/phoenix/pulls/7140","html_url":"https://github.com/DoSomething/phoenix/pull/7140","diff_url":"https://github.com/DoSomething/phoenix/pull/7140.diff","patch_url":"https://github.com/DoSomething/phoenix/pull/7140.patch"},"body":"#### What's this PR do?\r\nThis pull request updates to the latest Drupal 7 release. This release includes [a fix for those ugly \"session destroy\" errors](https://www.drupal.org/node/2638016) that were showing up on staging, and presumably some other PHP 7 fixes according to the comments in that discussion.\r\n\r\n#### How should this be reviewed?\r\nIt should build and not have those errors after you build.  🐛🔨\r\n\r\n#### Any background context you want to provide?\r\nI am currently seeing some nasty Drush errors :fearful: when testing this on my local and trying to pull the staging database. The build itself works as expected, so not sure if this is actually related:\r\n\r\n```\r\ndosomething@dev:/var/www/dev.dosomething.org$ ds pull stage --db\r\nDropping local DB\r\nDo you really want to drop all tables in the database dosomething? (y/n): y\r\nPulling down db from staging\r\nThe external command could not be executed due to an application error.                                                                                               [error]\r\nIllegal string offset 'site' backend.inc:1032                                                                                                                         [warning]\r\n                                                                             [error]ey).\r\n, code: 255)\r\nError: no database record could be found for source @ds.staging      \r\n```\r\n\r\n#### Relevant tickets\r\nFixes 🐛💦.\r\n\r\n#### Checklist\r\n- [ ] Documentation added for new features/changed endpoints.\r\n- [ ] Tested on staging.\r\n- [ ] Pinged a PM if this is a larger PR that would benefit from some additional testing love\r\n- [ ] Post a message in #phoenix if this includes something that causes a rebuild!  "},"comment":{"url":"https://api.github.com/repos/DoSomething/phoenix/issues/comments/255165208","html_url":"https://github.com/DoSomething/phoenix/pull/7140#issuecomment-255165208","issue_url":"https://api.github.com/repos/DoSomething/phoenix/issues/7140","id":255165208,"user":{"login":"DFurnes","id":583202,"avatar_url":"https://avatars.githubusercontent.com/u/583202?v=3","gravatar_id":"","url":"https://api.github.com/users/DFurnes","html_url":"https://github.com/DFurnes","followers_url":"https://api.github.com/users/DFurnes/followers","following_url":"https://api.github.com/users/DFurnes/following{/other_user}","gists_url":"https://api.github.com/users/DFurnes/gists{/gist_id}","starred_url":"https://api.github.com/users/DFurnes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DFurnes/subscriptions","organizations_url":"https://api.github.com/users/DFurnes/orgs","repos_url":"https://api.github.com/users/DFurnes/repos","events_url":"https://api.github.com/users/DFurnes/events{/privacy}","received_events_url":"https://api.github.com/users/DFurnes/received_events","type":"User","site_admin":false},"created_at":"2016-10-20T16:59:26Z","updated_at":"2016-10-20T16:59:26Z","body":"Oh wait, I do seem to be getting a ton of errors on the `ds build --install` step as well. I get the exact same errors when trying to build on the dev branch though, so not sure what to make of it. 🤔\r\n\r\n```\r\nStarting Drupal installation. This takes a while. Consider using the --notify global option.                                                                             [ok]\r\nException: none.:                                                                                                                                                        [error]\r\n\r\nNew Relic PHP Library missing. Check <a href=\"https://newrelic.com/docs/php/new-relic-for-php\">Install New Relic for PHP</a> for more information. in\r\n/var/www/dev.dosomething.org/html/includes/install.core.inc:773\r\nStack trace:\r\n#0 /var/www/dev.dosomething.org/html/includes/install.core.inc(471): install_verify_requirements(Array)\r\n#1 /var/www/dev.dosomething.org/html/includes/install.core.inc(339): install_run_task(Array, Array)\r\n#2 /var/www/dev.dosomething.org/html/includes/install.core.inc(77): install_run_tasks(Array)\r\n#3 /home/dosomething/.composer/vendor/drush/drush/includes/drush.inc(723): install_drupal(Array)\r\n#4 /home/dosomething/.composer/vendor/drush/drush/includes/drush.inc(709): drush_call_user_func_array('install_drupal', Array)\r\n#5 /home/dosomething/.composer/vendor/drush/drush/commands/core/drupal/site_install_7.inc(82): drush_op('install_drupal', Array)\r\n#6 /home/dosomething/.composer/vendor/drush/drush/commands/core/site_install.drush.inc(291): drush_core_site_install_version('dosomething', Array)\r\n#7 /home/dosomething/.composer/vendor/drush/drush/includes/command.inc(361): drush_core_site_install('dosomething')\r\n#8 /home/dosomething/.composer/vendor/drush/drush/includes/command.inc(212): _drush_invoke_hooks(Array, Array)\r\n#9 /home/dosomething/.composer/vendor/drush/drush/includes/command.inc(180): drush_command('dosomething')\r\n#10 /home/dosomething/.composer/vendor/drush/drush/lib/Drush/Boot/BaseBoot.php(64): drush_dispatch(Array)\r\n#11 /home/dosomething/.composer/vendor/drush/drush/drush.php(70): Drush\\Boot\\BaseBoot->bootstrap_and_dispatch()\r\n#12 /home/dosomething/.composer/vendor/drush/drush/drush.php(11): drush_main()\r\n#13 {main}\r\nGranting basic permissions...\r\nCommand role-add-perm needs a higher bootstrap level to run - you will need to invoke drush from a more functional Drupal environment to run this command.            [error]\r\nThe drush command 'rap anonymous user access content' could not be executed.                                                                                          [error]\r\nCommand role-add-perm needs a higher bootstrap level to run - you will need to invoke drush from a more functional Drupal environment to run this command.            [error]\r\nThe drush command 'rap authenticated user access content' could not be executed.                                                                                      [error]\r\nRebuilding node permissions\r\nPHP Fatal error:  Uncaught Error: Call to undefined function cache_get() in /var/www/dev.dosomething.org/html/includes/module.inc:754\r\nStack trace:\r\n#0 /var/www/dev.dosomething.org/html/includes/module.inc(954): module_implements('system_theme_in...')\r\n#1 /var/www/dev.dosomething.org/html/modules/system/system.module(2511): module_invoke_all('system_theme_in...')\r\n#2 /var/www/dev.dosomething.org/html/includes/theme.inc(798): _system_rebuild_theme_data()\r\n#3 /var/www/dev.dosomething.org/html/includes/theme.maintenance.inc(57): list_themes()\r\n#4 /var/www/dev.dosomething.org/html/includes/bootstrap.inc(2857): _drupal_maintenance_theme()\r\n#5 /var/www/dev.dosomething.org/html/includes/errors.inc(179): drupal_maintenance_theme()\r\n#6 /var/www/dev.dosomething.org/html/includes/bootstrap.inc(2594): _drupal_log_error(Array, true)\r\n#7 [internal function]: _drupal_exception_handler(Object(Error))\r\n#8 {main}\r\n  thrown in /var/www/dev.dosomething.org/html/includes/module.inc on line 754\r\nDrush command terminated abnormally due to an unrecoverable error.                                                                                                    [error]\r\nError: Uncaught Error: Call to undefined function cache_get() in /var/www/dev.dosomething.org/html/includes/module.inc:754\r\nStack trace:\r\n#0 /var/www/dev.dosomething.org/html/includes/module.inc(954): module_implements('system_theme_in...')\r\n#1 /var/www/dev.dosomething.org/html/modules/system/system.module(2511): module_invoke_all('system_theme_in...')\r\n#2 /var/www/dev.dosomething.org/html/includes/theme.inc(798): _system_rebuild_theme_data()\r\n#3 /var/www/dev.dosomething.org/html/includes/theme.maintenance.inc(57): list_themes()\r\n#4 /var/www/dev.dosomething.org/html/includes/bootstrap.inc(2857): _drupal_maintenance_theme()\r\n#5 /var/www/dev.dosomething.org/html/includes/errors.inc(179): drupal_maintenance_theme()\r\n#6 /var/www/dev.dosomething.org/html/includes/bootstrap.inc(2594): _drupal_log_error(Array, true)\r\n#7 [internal function]: _drupal_exception_handler(Object(Error))\r\n#8 {main}\r\n  thrown in /var/www/dev.dosomething.org/html/includes/module.inc, line 754\r\nReverting all features\r\nThe drush command 'fra' could not be found.  Run `drush cache-clear drush` to clear the commandfile cache if you have installed new extensions.                       [error]\r\nRemoving install.php...\r\nRunning drush from directory /var/www/dev.dosomething.org/html\r\nDrush status:\r\n Drupal version         :  7.51                                                     \r\n Site URI               :  http://default                                           \r\n Database driver        :  mysql                                                    \r\n Database hostname      :  localhost                                                \r\n Database port          :                                                           \r\n Database username      :  root                                                     \r\n Database name          :  dosomething                                              \r\n PHP executable         :  /usr/bin/php                                             \r\n PHP configuration      :  /etc/php/7.0/cli/php.ini                                 \r\n PHP OS                 :  Linux                                                    \r\n Drush script           :  /home/dosomething/.composer/vendor/drush/drush/drush.php \r\n Drush version          :  7.3.0                                                    \r\n Drush temp directory   :  /tmp                                                     \r\n Drush configuration    :                                                           \r\n Drush alias files      :  /home/dosomething/.drush/ds.aliases.drushrc.php          \r\n Drupal root            :  /var/www/dev.dosomething.org/html                        \r\n Site path              :  sites/default                                            \r\n\r\nAdding role to admin user...\r\nCommand user-add-role needs a higher bootstrap level to run - you will need to invoke drush from a more functional Drupal environment to run this command.            [error]\r\nThe drush command 'user-add-role administrator 1' could not be executed.                                                                                              [error]\r\nUpdating database...\r\nPDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dosomething.system' doesn't exist in                                                         [error]\r\n/var/www/dev.dosomething.org/html/includes/database/database.inc:2227\r\nStack trace:\r\n#0 /var/www/dev.dosomething.org/html/includes/database/database.inc(2227): PDOStatement->execute(Array)\r\n#1 /var/www/dev.dosomething.org/html/includes/database/database.inc(697): DatabaseStatementBase->execute(Array, Array)\r\n#2 /var/www/dev.dosomething.org/html/includes/database/database.inc(2406): DatabaseConnection->query('SELECT name, sc...', Array, Array)\r\n#3 /var/www/dev.dosomething.org/html/includes/install.inc(155): db_query('SELECT name, sc...', Array)\r\n#4 /var/www/dev.dosomething.org/html/includes/update.inc(146): drupal_get_installed_schema_version('system')\r\n#5 /home/dosomething/.composer/vendor/drush/drush/commands/core/drupal/update_7.inc(162): update_prepare_d7_bootstrap()\r\n#6 /home/dosomething/.composer/vendor/drush/drush/commands/core/drupal/update_7.inc(225): update_main_prepare()\r\n#7 /home/dosomething/.composer/vendor/drush/drush/commands/core/core.drush.inc(457): update_main()\r\n#8 /home/dosomething/.composer/vendor/drush/drush/includes/command.inc(361): drush_core_updatedb()\r\n#9 /home/dosomething/.composer/vendor/drush/drush/includes/command.inc(212): _drush_invoke_hooks(Array, Array)\r\n#10 /home/dosomething/.composer/vendor/drush/drush/includes/command.inc(180): drush_command()\r\n#11 /home/dosomething/.composer/vendor/drush/drush/lib/Drush/Boot/BaseBoot.php(64): drush_dispatch(Array)\r\n#12 /home/dosomething/.composer/vendor/drush/drush/drush.php(70): Drush\\Boot\\BaseBoot->bootstrap_and_dispatch()\r\n#13 /home/dosomething/.composer/vendor/drush/drush/drush.php(11): drush_main()\r\n#14 {main}\r\nEnabling modules in dosomething.info\r\nPHP Fatal error:  Uncaught Error: Call to undefined function cache_get() in /var/www/dev.dosomething.org/html/includes/module.inc:754\r\nStack trace:\r\n#0 /var/www/dev.dosomething.org/html/includes/module.inc(954): module_implements('system_theme_in...')\r\n#1 /var/www/dev.dosomething.org/html/modules/system/system.module(2511): module_invoke_all('system_theme_in...')\r\n#2 /var/www/dev.dosomething.org/html/includes/theme.inc(798): _system_rebuild_theme_data()\r\n#3 /var/www/dev.dosomething.org/html/includes/theme.maintenance.inc(57): list_themes()\r\n#4 /var/www/dev.dosomething.org/html/includes/bootstrap.inc(2857): _drupal_maintenance_theme()\r\n#5 /var/www/dev.dosomething.org/html/includes/errors.inc(179): drupal_maintenance_theme()\r\n#6 /var/www/dev.dosomething.org/html/includes/bootstrap.inc(2594): _drupal_log_error(Array, true)\r\n#7 [internal function]: _drupal_exception_handler(Object(Error))\r\n#8 {main}\r\n  thrown in /var/www/dev.dosomething.org/html/includes/module.inc on line 754\r\nDrush command terminated abnormally due to an unrecoverable error.                                                                                                    [error]\r\nError: Uncaught Error: Call to undefined function cache_get() in /var/www/dev.dosomething.org/html/includes/module.inc:754\r\nStack trace:\r\n#0 /var/www/dev.dosomething.org/html/includes/module.inc(954): module_implements('system_theme_in...')\r\n#1 /var/www/dev.dosomething.org/html/modules/system/system.module(2511): module_invoke_all('system_theme_in...')\r\n#2 /var/www/dev.dosomething.org/html/includes/theme.inc(798): _system_rebuild_theme_data()\r\n#3 /var/www/dev.dosomething.org/html/includes/theme.maintenance.inc(57): list_themes()\r\n#4 /var/www/dev.dosomething.org/html/includes/bootstrap.inc(2857): _drupal_maintenance_theme()\r\n#5 /var/www/dev.dosomething.org/html/includes/errors.inc(179): drupal_maintenance_theme()\r\n#6 /var/www/dev.dosomething.org/html/includes/bootstrap.inc(2594): _drupal_log_error(Array, true)\r\n#7 [internal function]: _drupal_exception_handler(Object(Error))\r\n#8 {main}\r\n  thrown in /var/www/dev.dosomething.org/html/includes/module.inc, line 754\r\nReverting Features\r\nThe drush command 'fra' could not be found.  Run `drush cache-clear drush` to clear the commandfile cache if you have installed new extensions.                       [error]\r\nClearing caches...\r\nNo Drupal site found, only 'drush' cache was cleared.\r\n```"}}
{"actor":{"display_login":"DFurnes"}}