Skip to content

Instantly share code, notes, and snippets.

@perusio
Created February 24, 2014 20:34
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 perusio/9196472 to your computer and use it in GitHub Desktop.
Save perusio/9196472 to your computer and use it in GitHub Desktop.
Bug in platform with the package manager
drush en -y commerce_be2bill
The following extensions will be enabled: commerce_be2bill
Do you really want to continue? (y/n): y
Invalid argument supplied for foreach() bootstrap.inc:1529 [warning]
strtr(): The second argument is not an array bootstrap.inc:1546 [warning]
DRUSH_GET_CLASS_ERROR [error]
commerce_be2bill was enabled successfully. [ok]
PHP Fatal error: Call to a member function getModulePerms() on a non-object in /usr/share/drush/commands/pm/pm.drush.inc on line 1015
Drush command terminated abnormally due to an unrecoverable error. [error]
Error: Call to a member function getModulePerms() on a non-object in /usr/share/drush/commands/pm/pm.drush.inc, line 1015
web@3sg3nssncvi62-master--php:~$ drush pmi commerce_b2bill
commerce_b2bill was not found. [warning]
web@3sg3nssncvi62-master--php:~$ drush pmi commerce_be2bill
date_timezone_set() expects parameter 1 to be DateTime, boolean given common.inc:2014 [warning]
date_format() expects parameter 1 to be DateTime, boolean given common.inc:2024 [warning]
Invalid argument supplied for foreach() bootstrap.inc:1529 [warning]
strtr(): The second argument is not an array bootstrap.inc:1546 [warning]
DRUSH_GET_CLASS_ERROR [error]
PHP Fatal error: Call to a member function getModulePerms() on a non-object in /usr/share/drush/commands/pm/info.pm.inc on line 110
Drush command terminated abnormally due to an unrecoverable error. [error]
Error: Call to a member function getModulePerms() on a non-object in /usr/share/drush/commands/pm/info.pm.inc, line 110
web@3sg3nssncvi62-master--php:~$ drush sqlq "select * from system where type='module' and name = 'commerce_be2bill'"
filename name type owner status bootstrap schema_version weight info
sites/all/modules/commerce_be2bill/commerce_be2bill.module commerce_be2bill module 1 0 7000 0 a:9:{s:4:"name";s:7:"Be2Bill";s:11:"description";s:65:"Implements Be2Bill payment services for use with Drupal Commerce.";s:7:"package";s:18:"Commerce (payment)";s:12:"dependencies";a:4:{i:0;s:8:"commerce";i:1;s:11:"commerce_ui";i:2;s:16:"commerce_payment";i:3;s:14:"commerce_order";}s:4:"core";s:3:"7.x";s:7:"version";N;s:3:"php";s:5:"5.2.4";s:5:"files";a:0:{}s:9:"bootstrap";i:0;}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment