I am trying to install drupal using drush site-install and keep getting the following error at the top of the page.

Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1817 of /var/www/mydrupalsite/includes/database/query.inc).

Even when I logout of administrator, the error still pops up at the top of the page. Can anyone explain what is going wrong and how to get rid of these messages? Everything else seems to have installed properly.

1 Answer 1


Make sure you're installing a current version of Drupal 7, that error appears to have been fixed in an earlier version.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.