Similar to #842862: Make "Notice: unserialize() [function.unserialize]: Error" more helpful, I am getting this error:
messageNotice: unserialize() [function.unserialize]: Error at offset 112 of 333 bytes in variable_initialize() (line 749 of /---------/drupal7/includes/bootstrap.inc). (exact path obscured)
This is on a freshly upgraded D6->D7 instance.
That line has this SQL command: SELECT name, value FROM {variable}.
I have 758 variables in my variables table. It would be helpful if the error message could tell us which of the variables is a problem.
Comments
Comment #1
berdirThis is a PHP error, we can't do anything to improve it. The function is called very often, it is simply not possible to validate everything in it.