Javascript alert (pop-up) error in Snap

Javascript alert (pop-up) error in Snap

by Troy Kammerdiener -
Number of replies: 1

We are using Moodle 3.1.1 (Build: 20160711) and Snap 3.1.3.

All students and the instructor in one (and only one right now) of our classes are getting a JavaScript popup error.  Normally debugging messages are off, so all they see upon logging into the class is:

Coding error detected, it must be fixed by a programmer: PHP catchable fatal error

The error is repeated any time a new page is loaded (unless it is fully cached).  When detailed errors are enabled, we get:

Detailed error popup with stack trace.

This stack trace is generated by javascript, and does not appear in the Moodle output when debugging is on.  Has anyone seen this behavior before?  Any clue as to what is happening here?

Thanks for any help.

---- Troy Kammerdiener ----
LSU Information Technology Services

Average of ratings: -
In reply to Troy Kammerdiener

Re: Javascript alert (pop-up) error in Snap

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

JavaScript?  Really?  When the stack trace is full of PHP files!  If the method/function 'get_numbers()' takes no parameters (i.e. look at the code around line 302 in /grade/report/lib.php ) then it is not a theme issue but rather probably some iffy data in the database somewhere.