-
Notifications
You must be signed in to change notification settings - Fork 445
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Family view error #5625
Comments
This is often a problem with the saturation of the SQL connection pool (#4522 #5171) which we believe is intermittently triggered by background jobs running when pages load. We're working toward splitting the background jobs out of the UI workflow (see #5231) but that hasn't been implemented yet. In the meantime, if you check your
|
I also see the same error. This is my log: [09-Jan-2021 22:32:09 America/Los_Angeles] Slim Application Error: |
we have the same error too. There is no saturation of the SQL connection error. [21-Jan-2021 00:00:45 America/Vancouver] Slim Application Error: |
Same here, new install on Centos 7.9.2009, with PHP 7.4 If there are other logs or specific debugging steps you want me to take, let me know.
|
I actually researched this a little- it was flagging on .churchcrm/ChurchCRM/model/ChurchCRM/User.php line 316, which was: I went into Admin->Edit General Settings->Enabled Features, and disabled Fiance, and retested, and the error resolved. |
Thanks, it works for me too! |
I resolved the same thing on our production system too (but in reverse - was able to recreate the error if I enabled the Finance module). It shouldn't happen even with the Finance module enable though. @crossan007 / @DawoudIO - I don't have much time to dig into this right now, but wondering if we should add a check for NULL in here somewhere? Trying to untagle the object model is a little beyond my mental capacity right now but something like this in public function isShowPledges() {
$foo = $this->getSetting(UserSetting::FINANCE_SHOW_PLEDGES)->getValue();
if ($foo is NULL) {
$foo = FALSE;
} else {
$foo = TRUE;
}
return $foo
} (might need to adapt this, but the logic would need to be placed in other places where unexpected NULLs could cause problems) |
Looks like this was a bug due to the refactor of the user settings, unsure why the data was not backfilled, I'll fix this in the next release. |
When viewing a Family i get the error
Slim Application Error
It is also showing when saving a family
The text was updated successfully, but these errors were encountered: