Drupal 6.10
When accessing feeds for either site or user activity streams, we're seeing two errors appearing in our dblog, though the feeds appear intact and accurate.
Object of class stdClass could not be converted to string in /var/www/oursite/includes/bootstrap.inc on line 768.
preg_match() expects parameter 2 to be string, object given in /var/www/oursite/includes/bootstrap.inc on line 771.
The referenced lines in bootstrap.inc are the drupal_validate_utf8 function
767 function drupal_validate_utf8($text) {
768 if (strlen($text) == 0) {
769 return TRUE;
770 }
771 return (preg_match('/^./us', $text) == 1);
772 }
Any thoughts on how to resolve the problem?
Comments
Comment #1
sirkitree commentedYes, this should have been fixed here: #461136: Cannot use object of type stdClass as array
Comment #2
barrett commentedSo that fix is in the 6.x-2.x-dev or the 6.x-1.x-dev version?
Comment #3
sirkitree commentedOops! Sorry, I referenced the incorrect issue, this is the correct one: #391424: recoverable fatal error