Closed (outdated)
Project:
Link
Version:
7.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Feb 2013 at 13:57 UTC
Updated:
1 Sep 2024 at 15:48 UTC
Jump to comment: Most recent
This error appeared some time ago and it appears from the queue that it was fixed. But I am having it with 7.x-1.1 and the fix in #1801662: Warning: unserialize() expects parameter 1 to be string, array given in _link_load() line 320 when previewing node. made it go away.
Comments
Comment #1
rsbecker commentedI spoke too soon. The change did not fix the problem.
Comment #2
scitoI'm setting an "Additional CSS Class" in the link field admin.
Afterwards, if I save a node containing a link, I get
Notice: unserialize() [function.unserialize]: Error at offset 0 of 11 bytes in _link_load() (Line 329 of /sites/all/modules/link/link.module).If I look in the DB, the value is not serialized. Thus, unserizalize will throw a notice.
I tried to debug it, but I didn't figure it out.
Comment #2.0
scitoFixed typos
Comment #3
dqdLink module is in Drupal core now. I'll close this issue due to inactivity for 12 years and upcoming EOL of Drupal 7 in January 2025. While the project version for Drupal 7 will keep providing support for security issues and website breaking bug fixes for Drupal 7, we should try to minimize the open issues for Drupal 7 in the queue as much as possible. Thanks for the report and all the efforts in here. Feel free to re-open if you can provide a fix or found an additional related problem which increases the issue priority to "Critical" here.