By ricky spires on
Hello.
i have installed 7.12 because im dupliacting a drupal site but im getting this error:
Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /Applications/MAMP/htdocs/drupal/includes/database/query.inc).
this is the code
function __clone() {
$this->changed = TRUE;
foreach ($this->conditions as $key => $condition) {
if ($condition['field'] instanceOf QueryConditionInterface) {
$this->conditions[$key]['field'] = clone($condition['field']);
}
}
}i did see a ould of other forums saying the same but they did not seem to solve the problem. any idea?
thanks
ricky
Comments
We have the same
We have the same problem....How will we solve this??
Any ideas
I get this when upgrading to 5.4.4 ... But I have no choice I need to upgrade servers are forcing me to...
Error message Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /usr/www/users/includes/database/query.inc)
Same issue
I received this error only when I moved my site from xampp to mamp. The site on xampp works fine. Drupal 7.12
Issue related to PHP version 5.4.4
This error only occurs when switched to PHP 5.4.4