ChurchCRM / CRM

ChurchCRM is an OpenSource Church CRM & Management Software.
https://ChurchCRM.io
MIT License
638 stars 447 forks source link

Bug: Error 500 When Attempting Add To Donation Fund #7162

Closed ken23humphrey closed 2 months ago

ken23humphrey commented 2 months ago

Description

When attempting to add to the list of Donation Funds, it goes to another screen that bare and the console reports an Error 500. This was done on a Softaculous install and a cPanel install where the files were uploaded into the folder on a shared hosting account.

ChurchCRM version: 5.10.0 PHP version the server running: 8.2.23 DB Server and Version the server is running: ChurchCRM DB Version is 5.10.0 and DB Server Version is 8.0.39-cll-lve

Steps To Reproduce

From the ChurchCRM Home Page:

  1. Click on Deposit
  2. Click on Admin
  3. Click on Donation Funds
  4. Add name at the bottom (eg. Tithes)
  5. Add Description (eg. Tenth)
  6. Click on the button Add New Fund

Expected behavior

The expectation is for the entered in information to be added to the database and show at the top of the screen with the Pledges entry. It goes to a page with the body section empty. When checking the console in the Developer Tools section, it shows an Internal Error 500.

Screenshots and/or logs

Screenshot 2024-09-21 190927

Screenshot 2024-09-21 190946

Desktop (please complete the following information):

OS and Version: Windows 11 Browser (and Version): Chrome Version 129.0.6668.59 (Official Build) (64-bit)

DAcodedBEAT commented 2 months ago

@ken23humphrey do you have access to the logs and if so, can you please provide the output here?

ken23humphrey commented 2 months ago

Here's a copy of the log.

2024-09-22-php.log

ken23humphrey commented 2 months ago

I updated the DonationFundEditor.php file with the changes in #7164 and it resolved the issue.

Issue is resolved.

DAcodedBEAT commented 2 months ago

Thank you @ken23humphrey and please report any other issues you may uncover!

If you want to help even further as a bug reporter, please consider also uploading steps by using the Cypress Recorder from https://chromewebstore.google.com/detail/cypress-recorder/glcapdcacdfkokcmicllhcjigeodacab?pli=1 to record your interaction and copy the results in the Github issue.