Warning: strpos() expects parameter 1 to be string, array given in _db_maintenance_determine_software() (line 241 of /var/aegir/platforms/pf92dev/sites/all/modules/db_maintenance/db_maintenance.module).
Looks like a PHP 5.3 compatibility issue.
Warning: strpos() expects parameter 1 to be string, array given in _db_maintenance_determine_software() (line 241 of /var/aegir/platforms/pf92dev/sites/all/modules/db_maintenance/db_maintenance.module).
Looks like a PHP 5.3 compatibility issue.
Comments
Comment #1
nowrap commentedUsing drush to execute the cron there are 2 warnings:
strpos() expects parameter 1 to be string, array given in /share/websites/drupal/sites/all/modules/db_maintenance/db_maintenance.module on line 241.
strpos() expects parameter 1 to be string, array given in /share/websites/drupal/sites/all/modules/db_maintenance/db_maintenance.module on line 245.
Also using PHP 5.3
Comment #2
deekayen commentedI changed the methodology for how that function works. It'll be in the next version of 6.x-1.x-dev snapshot.
Comment #4
yngens commentedWith 6.x-1.3 the error persists:
Couldn't find 6.x-1.x-dev, so changing this to active again.
Comment #5
robcarrI'm getting the same errors (in 6.x-1.3) but I'm using PHP 5.2.13
*EDIT* Likewise, cannot find a DEV release for 6.x
Comment #6
maczkojanos commentedHello,
here is DEV release:
git clone --branch 6.x-1.x http://git.drupal.org/project/db_maintenance.git
maczkojanos
Comment #7
drupalgideonAny news on a 1.4 release with this fix in?
Comment #8
deekayen commentedtagged for release