Hope my message finds you well,
in the past few weeks, we had a project to upgrade our current Moodle site from 3.4 to 3.8 as we are running some plugins are not compatible with newer versions of Moodle. the 3.8.4+ was the only version we could upgrade to. so long story short, all the upgrade process and pain throughout was ok until we stumbled upon the following error
SyntaxError: Unexpected token _ in JSON at position 0
This error occurs when accessing an assignment and attempt to grade it. I've tried all possible solutions that I could linked them to but no luck.
additional information about my setup.
I am running Moodle 3.8.4+ (Build: 20200827) on Ubuntu 18.04.5 LTS with PHP 7.2.24 and MySQL 5.7.32
The actions have taken so far to troubleshoot are
- upgrade jQuery from 3.4.1 to 3.5.1
- looking around for permission/ownership issues.
The only output could lead to something, I can see on my browser console that there is a warning on depreciated function on XMLHttpRequest if this could help.
I look forward for your contribution to this, your assistance is highly appreciated.