Closed (duplicate)
Project:
Drupal core
Version:
8.0.x-dev
Component:
other
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Nov 2012 at 17:11 UTC
Updated:
29 Jul 2014 at 21:26 UTC
Jump to comment: Most recent

Comments
Comment #1
Anonymous (not verified) commentedWhat does your line 368 of includes/entity.inc say? I don't see how an array could become a string with PHP function array_diff_assoc().
file include/entity.inc @line 368
Both $conditions and $entity_values are an array.
Maybe you need to turn off the Notices from PHP in php.ini or your settings.php file. This is recommended practice for a production system.
http://www.php.net/manual/en/errorfunc.configuration.php#ini.error-repor...
http://php.net/manual/en/function.error-reporting.php
Comment #2
weeix commentedThanks earnie. I'll turn notices off as you suggest.
btw, after reading this issue in php.net:
https://bugs.php.net/bug.php?id=62115
I found this message by maarten:
$entity_values is a multidimensional array, so it make sense if I'm noticed
but what I still wonder is when we cut the tags to 1 or none, PHP stop notifying me although the $entity_values doesn't change at all.
Comment #3
Anonymous (not verified) commentedYea, php 5.4 isn't recommended for Drupal as yet.
Making a bug report for consideration of potential fixes.
Comment #4
pfrenssenThis is a duplicate of #1525176: Using array_diff_assoc() for multilevel arrays in DrupalDefaultEntityController->cacheGet().