When I upgraded Meta Tags to alpha7 from alpha 5, the following error appears on pages which have Views tables which include dates, locations (and a like to google maps) on them (and not on other pages):
Notice: unserialize() [function.unserialize]: Error at offset 66 of 279 bytes in metatag_metatags_load_multiple() (line 302 of /home/sitename/public_html/sites/all/modules/metatag/metatag.module).
Notice: unserialize() [function.unserialize]: Error at offset 66 of 271 bytes in metatag_metatags_load_multiple() (line 302 of /home/sitename/public_html/sites/all/modules/metatag/metatag.module).
Notice: unserialize() [function.unserialize]: Error at offset 66 of 285 bytes in metatag_metatags_load_multiple() (line 302 of /home/sitename/public_html/sites/all/modules/metatag/metatag.module).
Notice: unserialize() [function.unserialize]: Error at offset 66 of 265 bytes in metatag_metatags_load_multiple() (line 302 of /home/sitename/public_html/sites/all/modules/metatag/metatag.module).
It works fine when I roll back to alpha5.
Comments
Comment #1
damienmckennaPlease try the latest -dev version.
Comment #2
marvs5 commentedI upgraded to the latest -dev version per your suggestion. I received the following error...
Notice: unserialize() [function.unserialize]: Error at offset 66 of 265 bytes in metatag_metatags_load_multiple() (line 316 of /home/sitename/public_html/sites/all/modules/metatag/metatag.module).
Notice: unserialize() [function.unserialize]: Error at offset 66 of 254 bytes in metatag_metatags_load_multiple() (line 316 of /home/sitename/public_html/sites/all/modules/metatag/metatag.module).
Notice: unserialize() [function.unserialize]: Error at offset 66 of 241 bytes in metatag_metatags_load_multiple() (line 316 of /home/sitename/public_html/sites/all/modules/metatag/metatag.module).
Notice: unserialize() [function.unserialize]: Error at offset 66 of 268 bytes in metatag_metatags_load_multiple() (line 316 of /home/sitename/public_html/sites/all/modules/metatag/metatag.module).
Notice: unserialize() [function.unserialize]: Error at offset 66 of 298 bytes in metatag_metatags_load_multiple() (line 316 of /home/sitename/public_html/sites/all/modules/metatag/metatag.module).
Reverting back to alpha5.
Comment #3
damienmckennaThe error repeats six times, so does that mean that six records were loaded on that page? Are you able to edit & view those objects (nodes or whatever) correctly on their own?
Comment #4
damienmckennaAfter further testing I'm unable to reproduce this, please re-edit & save the nodes and terms that load on that page with the latest -dev version to ensure the data saves correctly.
Comment #5
damienmckennaJust to explain it further, when it says "Error at offset X of Y bytes" it means that it's getting errors trying to expand the serialized data that was loaded from the database using this command:
In other words, the data has been corrupted somehow, possibly by a bug in an old version or maybe just Dumb Luck (tm), so the only way to fix it will be to re-edit the content and fix the data.