Quantcast
Channel: Moodle for mobile
Viewing all articles
Browse latest Browse all 8379

Re: Moodle Mobile App - Invalid json in request: No error

$
0
0

by Thomas College.  

Hi Ali, 

We're using PHP 5.6.30 as well.  We're running on Windows 2012R2, so we can rule out server OS as the problem.

If I comment out this section of code in \lib\ajax\service.php:

if ($requests === null) {
    $lasterror = json_last_error_msg();
    throw new coding_exception('Invalid json in request: ' . $lasterror);
}

I'm able to connect to our site, but I receive the attached error when I try to authenticate.



Viewing all articles
Browse latest Browse all 8379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>