developerck / moodle-atto_aic

1 stars 2 forks source link

Getting atto_aic\\ai::format_response() error #4

Closed geraudmathe closed 8 months ago

geraudmathe commented 8 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

geraudmathe commented 8 months ago

Opened PR #5