Error "JSON.parse: unexpected end of data at line 1 column 1 of the JSON data"

Error "JSON.parse: unexpected end of data at line 1 column 1 of the JSON data"

by Emanuele Aloi -
Number of replies: 2

Hello,


Yesterday, I tried to install a plugin but the process has stopped working. Now, when i try to access to the administration panel, it loads a blank page and gives me this error. The frontend does work properly.

I would try uninstalling the plugin from cpannel (since the administration of Moodle doesn't work) but I do not know where to look for. The plugin  is "Socialwall Format".

Does anyone know which folders i should delete?


Greetings to all,

  Emanuele

Average of ratings: -
In reply to Emanuele Aloi

Re: Error "JSON.parse: unexpected end of data at line 1 column 1 of the JSON data"

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

It's a course format so delete the following directory and all its contents...

/path/to/your/moodle/course/format/socialwall/

Obviously (I hope) substitute /path/to/your/moodle with whatever is required for your site or just look for the 'course' folder under your Moodle install in your file manager. 

In reply to Howard Miller

Re: Error "JSON.parse: unexpected end of data at line 1 column 1 of the JSON data"

by Emanuele Aloi -

it worked!thank you very much!!