Moodle

Invalid JSON string errors when attempting to pick a file from a repository

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 2.0
  • Fix Version/s: 2.0
  • Component/s: Repositories
  • Labels:
    None
  • Affected Branches:
    MOODLE_20_STABLE
  • Fixed Branches:
    MOODLE_20_STABLE

Description

Steps to recreate:

1. Set debug messages to developer
2. Attempt to add a file to a forum post

Google Docs error message:
Invalid JSON string - |req_cb| -
Notice: Undefined property: stdClass::$pixpath in /Applications/MAMP/htdocs/moodle20/lib/googleapi.php on line 287

Local files error message:
Invalid JSON string - |req_cb| -
Notice: Undefined variable: path in /Applications/MAMP/htdocs/moodle20/repository/local/repository.class.php on line 78

Warning: array_reverse() [function.array-reverse]: The argument should be an array in /Applications/MAMP/htdocs/moodle20/repository/local/repository.class.php on line 78

Activity

Hide
Dongsheng Cai added a comment -

Hi, Helen, I fixed the undefined warning in google docs plugin, the local plugin one was fixed in MDL-15351

Show
Dongsheng Cai added a comment - Hi, Helen, I fixed the undefined warning in google docs plugin, the local plugin one was fixed in MDL-15351

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: