Moodle

When backing up course, there is an error with unserialize in backup_getid

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Duplicate
  • Affects Version/s: 1.9
  • Fix Version/s: None
  • Component/s: Backup
  • Labels:
    None
  • Database:
    Any
  • Affected Branches:
    MOODLE_19_STABLE

Description

We get this error because it calls backup_getid which retrieves a value from the backup_ids table and then tries to unserialize the 'info' field. However the 'info' field contains the word 'needed', which is not valid serialized data.

Creating XML file

  • Writing header
  • Writing general info
  • Writing course data
    o Course info

Notice: unserialize() [function.unserialize]: Error at offset 0 of 6 bytes in /var/www/html/sm449/oustable/backup/lib.php on line 536

Issue Links

Activity

Hide
Eloy Lafuente (stronk7) added a comment -

Dupe of MDL-13641... ciao

Show
Eloy Lafuente (stronk7) added a comment - Dupe of MDL-13641... ciao

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: