Hotpot (plugin)

Notice: Object of class moodle_url could not be converted to int ...

 
 
avatar
Notice: Object of class moodle_url could not be converted to int ...
 

Hi Gordon,

I need a help. Working with Moodle 2.3.2 and the v3.0.62 release of Hotpot, I have enabled the button to give up
in my activities :

When I have the debug option to NORMAL (Settings / Site administration / Development / Debugging) shows the following notice, after giving up the activity:

The grade is saved, but I don't understand the reason for that notice.

Best regards

Antonio

 

 
Average of ratings: -
Picture of Patrick Verguet
Re: Notice: Object of class moodle_url could not be converted to int ...
 

Hi there

I don't know if this could help, I had a similar error message a couple of days ago

count_records_sql() expects the first field to contain non-negative number from COUNT(), '' found instead

and that was solved by my Moodle admin updating the Hotpot plugin.

Best regards

Patrick

 
Average of ratings: -
Picture of Gordon Bateson
Re: Notice: Object of class moodle_url could not be converted to int ...
Group DevelopersGroup Particularly helpful MoodlersGroup Translators

Hi Antonio and Patrick,

thanks for letting me know about this issue. I have made a small adjustment to the "attempt/renderer.php" script which I think will fix this issue.

Please could you download the latest version of the HotPot module and let me know if it works better for you.

best regards
Gordon

 
Average of ratings:Useful (1)
avatar
Re: Notice: Object of class moodle_url could not be converted to int ...
 

Problem solved! Yes Thank you very much, Gordon.

Best regards

Antonio

 
Average of ratings:Useful (1)