Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This red bar notification appears when these conditions are met:
1. Users choose to show a menu link for the article
2. Users input more than 1 tag.
3. There are at least 1 Thai word (คำไทย) in those tags
Not sure this notification would also appear in other languages. I'd be nice to check.
Comment | File | Size | Author |
---|---|---|---|
thai-language-issue.jpg | 83.7 KB | weeix |
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous 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 CreditAttribution: 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) CreditAttribution: Anonymous 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().