PHP error with student login, ATL module

A school was getting an error with student logins. I checked the PHP error logs and saw:

[proxy_fcgi:error] [pid 9374:tid 140424853006080] [client xxx.xxx.xxx.xxx:0] AH01071: Got error ‘PHP message: Notice: Undefined variable: container in /home/…/public_html/home/module…e 35PHP message: Uncaught Exception: Error - Call to a member function get() on null in /home/…/public_html/home/modules/ATL/moduleFunctions.php on line 154’, referer: https://…school.com/index.php

I uninstalled the ATL module and the error is gone. Can you find out what is happening?

Thanks

Tieku

Hi Tieku,

I’ve tried to replicate this, but cannot. Can you please let me know the Gibbon Core and ATL versions?

This issue is actually a PHP Message, which is lower severity than a error, and normally does stop or impact processing. Usually you’d just turn these off in a production system. However, in this cause it seems to be linked to an Exception, which is severe enough to stop everything else.

Cheers,

Ross

ATL - v1.5.08
Gibbon - v23.0.02

Hi Tieku, thanks for providing this information, with which I have been able to replicate the issue. Oddly, it does seem to impacted Gibbon v25.0.00, even though it did not seem to earlier, and even though we’ve not encountered this in production.

I’ve created a fix, which has been released as ATL v1.5.09, which has been tested with Core v23.0.02 and higher.

Cheers,

Ross