Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 1.9
-
Fix Version/s: STABLE backlog
-
Component/s: Backup
-
Labels:None
-
Affected Branches:MOODLE_19_STABLE
Description
During a course backup I am seeing the following notice:
Notice: unserialize() [function.unserialize]: Error at offset 0 of 6 bytes in /home/arborrow/Moodle/code/19stable/backup/lib.php on line 534
Attachments
Issue Links
| This issue will help resolve: | ||||
| MDL-15675 | cannot backup some courses; Incorrect string "needed" in $status->info, please fix the code (table:user; old_id:1). |
|
|
|
| MDL-16298 | Backup does not serialize user info |
|
|
|
| This issue is duplicated by: | ||||
| MDL-14088 | When backing up course, there is an error with unserialize in backup_getid |
|
|
|
Yup, this is in my TODO list since some weeks ago.
it's caused by wrongly inserted data (without serialise) in the backups_ids table.I'm planning to change that place to serialize before insert.
Anyway, I've done it quickly because it doesn't cause any error (by the notice), I checked that 100% and it's one part of backup that, perhaps, could be skipped.
Solution will arrive soon, for sure.
Ciao