Skip to content
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

Attempt to remove Orphan records failed #910

Open
HGADerek opened this issue Jun 9, 2023 · 3 comments
Open

Attempt to remove Orphan records failed #910

HGADerek opened this issue Jun 9, 2023 · 3 comments
Labels

Comments

@HGADerek
Copy link

HGADerek commented Jun 9, 2023

We (HGA) having issues. User view screen colors have reset to default green, and Administrator gets error message when trying to control to custom screen. Ran the FT diagnostic and 22 Orhans foun - but not sure if this is connected. When "clean-up" orphans is clicked - this is error message.

Fatal error: Uncaught PDOException: SQLSTATE[HY093]: Invalid parameter number: parameter was not defined in /home2/ajdloqb0/public_html/missions/global/code/Database.class.php:126 Stack trace: #0 /home2/ajdloqb0/public_html/missions/global/code/Database.class.php(126): PDOStatement->bindValue('view_id', 29, 1) #1 /home2/ajdloqb0/public_html/missions/global/code/Database.class.php(132): FormTools\Database->bind('view_id', 29) #2 /home2/ajdloqb0/public_html/missions/modules/system_check/code/Orphans.class.php(777): FormTools\Database->bindAll(Array) #3 /home2/ajdloqb0/public_html/missions/modules/system_check/code/Orphans.class.php(65): FormTools\Modules\SystemCheck\Orphans::testEmailTemplateWhenSentViews(true) #4 /home2/ajdloqb0/public_html/missions/modules/system_check/code/Orphans.class.php(151): FormTools\Modules\SystemCheck\Orphans::findTableOrphans('frmtv_email_tem...', true) #5 /home2/ajdloqb0/public_html/missions/modules/system_check/orphans.php(15): FormTools\Modules\SystemCheck\Orphans::cleanOrphans() #6 {main} thrown in /home2/ajdloqb0/public_html/missions/global/code/Database.class.php on line 126

Any ideas or help available to resolve. Derek - Volunteer - Houston Ground Angels

@benkeen
Copy link
Member

benkeen commented Jun 15, 2023

Hi @HGADerek, sorry for not responding sooner.

This looks like a PHP 8 bug with the System Check module, but I wouldn't worry too much. The orphan clean up option was just there to make sure there wasn't any clutter left over in your database. It won't cause problems without it running.

Let me take a look and I'll get back to you.

What versions of System Check and the Form Tools Core are you running, btw?

@benkeen benkeen added the Bug label Jun 15, 2023
@HGADerek
Copy link
Author

HGADerek commented Jun 15, 2023 via email

@benkeen
Copy link
Member

benkeen commented Jun 19, 2023

Hey Derek,

Sure, how about ping me at ben.keen@gmail.com and we can arrange a time to chat? I do want to be upfront though, I have very limited time so I'm not sure how much I'll be able to actually help out. But a chat to talk about what's possible with the software is no problem. :)

I'm generally free evenings (I'm west coast North America so not too far off your timezone), and sometimes weekends.

Ben

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants