developerck / moodle-atto_aic

0 stars 2 forks source link

Setting atto_aic\\ai::format_response() as static #5

Closed geraudmathe closed 3 months ago

geraudmathe commented 3 months ago

Moodle Version = 4.3.3+ (Build: 20240308) Atto AIC Version = 1.2

Hi, with a fresh install, right after setting params and API KEY, the call to ajax.php when requesting content form the modal returns:

Non-static method atto_aic\ai::format_response() cannot be called statically Setting the method format_response to static does fix the issue

developerck commented 3 months ago

Thanks