Closed (duplicate)
Project:
Core development
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Mar 2012 at 16:56 UTC
Updated:
10 Jul 2013 at 05:23 UTC
1) Installed drupal-7.12 version on an nginx server , php-fpm version 5.4.0 got the following warning and notice
Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /webserver/nginx/html/drupal-7.12/includes/database/query.inc).
Notice: Array to string conversion in menu_link_save() (line 3112 of /webserver/nginx/html/drupal-7.11/includes/menu.inc).
Screen Shot is attached
When i changed the php version to 5.3 it is working fine .
| Comment | File | Size | Author |
|---|---|---|---|
| Screenshot1.jpg | 177.57 KB | josejayesh | |
| Screenshot2.jpg | 128.22 KB | josejayesh |
Learn more
Comments
Comment #1
josejayesh CreditAttribution: josejayesh commentedIn the same box when i changed the PHp version to 5.3.10 it is not showing any error . I guess this issue is due to php version
Comment #2
ahcolus CreditAttribution: ahcolus commentedSame error but on Apache 2.2.22 PHP 5.4.0 SQlite 3.7.7.1 Drupal 7.12
After PHP update from 5.3.8 to 5.4.0 I got these errors:
However every page has few or more errors depending on the content. Launched update.php and got a page I never seen in Drupal, many tables with a bunch of errors.
Comment #3
Brain2000 CreditAttribution: Brain2000 commentedIt seems to be barking at this line of code:
Comment #4
ParisLiakos CreditAttribution: ParisLiakos commentedSee this issue #1414412: Skip #conjunction key in __clone() method of core/includes/database/query.inc for the title's issue
For menu_link_save() notice check #1338282: Fix php notice in menu_link_save()
Comment #5
jamesmorrish CreditAttribution: jamesmorrish commentedI got the following error with D7 and PHP 5.4
Warning: Illegal string offset ‘field_name’ in node_reference_preprocess_node()
Downgrading to 5.3 also resolved the issue
Comment #6
hemans2510 CreditAttribution: hemans2510 commentedComment #7
wouter_kirstein CreditAttribution: wouter_kirstein commentedOk ... Hosting company is forcing me to upgrade to 5.4.4 and it giving same issue.
Any Ideas what I can do... My next attempt is to upgrade to 7.2.2 but I did that and I had some other php issue and downgraded.
Any ideas
Comment #8
klonos CreditAttribution: klonos commented...