Uncaught Error: Call to undefined method Gibbon\\Forms\\Layout\\Element on line 212

PHP 7.0
Clean Install of Gibbon

Just started going through settings and noticed this error under the Notification Settings
Students: Updated Privacy Settings

Fatal error: Uncaught Error: Call to undefined method Gibbon\Forms\Layout\Element::isRequired() in /srv/users/mcsslc/apps/mcsslc/public/connect/modules/System Admin/notificationSettings_manage_edit.php:212 Stack trace: #0 /srv/users/mcsslc/apps/mcsslc/public/connect/index.php(617): include() #1 {main} thrown in /srv/users/mcsslc/apps/mcsslc/public/connect/modules/System Admin/notificationSettings_manage_edit.php on line 212

Hi jemmyn, are you using v14.0.01 (stable) or v15.0.00 (dev). I guess v15.0.00? Thanks for letting us know. Please keep in mind the dev code will be unstable (although not terribly so, if we are doing our jobs correctly), so do please let us know about issues, but don’t rely on this for production.

@ross can you look into this?

14.0.01 Stable. I am happy to diagnose or give you access to the server.

Hi Jemmyn,

I haven’t been able to reproduce the error in a v14.0.01 system, but I do see from the stack trace where in the code it’s occurring, which is related to fetching a list of current students in the school. I think the only way it would result in the error you’re seeing is if the SQL query is failing. Are you able to check your PHP error logs to see if there’s anything in there from right before the fatal error occurred?

Thanks!

I think perhaps it had something to do with me not having any students. Now that I have accepted a test student into this school year the error has gone away. I actually did a number of things between then and now so it could be related to other things but could this be the cause of the error? I am happy to reinstall fresh again and get you the same error. I did not check the PHP logs before this. Sorry.

Hi Jemmyn,

Thanks! I was able to reproduce the error with your info and confirmed that it’s been fixed in the next version.