Closed (cannot reproduce)
Project:
Link
Version:
7.x-1.0
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Oct 2012 at 01:42 UTC
Updated:
19 Mar 2015 at 09:38 UTC
Jump to comment: Most recent
This issue happens when you preview a node that has a link field.
I believe that the attribute is still an array at this stage and is not yet serialised.
One way to fix it is to change the code like this:
if (isset($item['attributes'])) {
if(is_string($item['attributes'])){
return unserialize($item['attributes']);
} else {
return $item['attributes'];
}
}
Comments
Comment #1
jkingsnorth commentedI cannot recreate the issue in the latest version, and since it is against an older version I'm going to close this off. Please do reopen it with full steps about how to recreate the issue in the latest version if it is still a problem.