Dear Friends,

Hope all are doing good. I have got good opportunity to work on drupal. I have installed drupal 7 in my PC. Post intallation i have got this issue "•Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1818 of F:\xampp\htdocs\drupal-7\includes\database\query.inc)." Kindly provide the solution if you have expereinced with this issue. Thanks in advanced.

Comments

perlwonk’s picture

I just installed a whole LAMP stack on my ubuntu desktop, then drupal and I got a whole slew of warning messages. I extinguished most of them by applying a patch to menu.inc, (thank you very much), but this warning remains.

s.pronkin’s picture

Where is patch menu.inc? Get link, please!

Ali yah’s picture

Im also getting the same error..How will I solve that???

Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1818 of C:\xampp\htdocs\drupal-7\includes\database\query.inc

trakk1000’s picture

Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1818 of /home/ptsitead/public_html/1000/includes/database/query.inc).

trakk1000’s picture

Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1818 of /home/xxxxxxxx/public_html/1000/includes/database/query.inc).
Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1818 of /home/xxxxxxxx/public_html/1000/includes/database/query.inc).

jovemac’s picture

I am also struck with the same issue

Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1818 of D:\xampp\htdocs\website\includes\database\query.inc).
Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1818 of D:\xampp\htdocs\website\includes\database\query.inc).

waqarit’s picture

Getting error while installing drupal

Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1818 of C:\wamp\www\mysite\includes\database\query.inc).

shaheb’s picture

Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1818 of D:\xampp\htdocs\drupal-7.0\includes\database\query.inc).
Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1818 of D:\xampp\htdocs\drupal-7.0\includes\database\query.inc).

help any one if you can please...

VM’s picture

Why Drupal 7.0 ? I'd use the latest release which is 7.41

shaheb’s picture

I am using also 8 but it's too latest, on the other hand I have a site builder exam and it will be on 7, that's why I installed 7. Hope the version you mentioned I will install later.

shaheb’s picture

Thanks for your help, eventually i installed this version, and it works fine.