Error in Form php file - Post ID 292468

User 2140875 Photo


Registered User
378 posts

All of a sudden I am getting an error when trying to access a contact form for a local non-profit Wordpress site. The contact form is located here: https://www.rascal.cc/contact-us/ . When I go to that page I get the following error message:

"Fatal error: Uncaught Error: Class 'FormPage' not found in /home/rascal6/public_html/wp/suggestion-form/fbapp/php/config.inc.php:15 Stack trace: #0 /home/rascal6/public_html/wp/suggestion-form.php(6): require() #1 {main} thrown in /home/rascal6/public_html/wp/suggestion-form/fbapp/php/config.inc.php on line 15"

I don't know much about this stuff. I did use Notepad ++ and opened the file referenced, config.inc.php, and here is line 15:

$myPage = FormPage::GetInstance( $myName );

As I say I am not familiar with the php stuff.

I opened the form in WFB, It previews fine. Saved it again and reuploaded with same results.

Is there anyone out there that can shed some light on why this error is all of a sudden happening?

UPDATE: It's happening on all my forms on this site: https://www.rascal.cc/.
Thanks for your help.
User 2140875 Photo


Registered User
378 posts

Sorry for the post. I did it in panic mode. Turned out it was a problem with the PHP version.

I should have read the post referring to HP version 7.2.

I went back to 7.1 and all forms worked.

Learning never stops!
User 187934 Photo


Senior Advisor
20,239 posts

Great to hear.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2140875 Photo


Registered User
378 posts

Well, I thought my problem was resolved. Unfortunately not. I downgraded to PHP version 7. and still get this error message:

Fatal error: Uncaught Error: Class 'FormPage' not found in /home/rascal6/public_html/wp/volunteer/fbapp/php/config.inc.php:15 Stack trace: #0 /home/rascal6/public_html/wp/volunteer.php(6): require() #1 {main} thrown in /home/rascal6/public_html/wp/volunteer/fbapp/php/config.inc.php on line 15

I have attached the config.inc.php file referenced in the above error message.

The same message appears for all forms, just different form name is referenced.

This is driving me nuts. I have deleted the folders related to the form on the server, opened and renamed the projects in WFB. Saved the files, did the Export-Manual Server Setup and then uploaded fresh files using Filezilla, all without success.

All other sites I use forms on work fine. I use WordPress to manage this site and it is the only one that is a problem. If you would like to take a look, the site is: https://rascal.cc.

Here are a few pages with forms:

https://www.rascal.cc/volunteer1/
https://www.rascal.cc/contact-us/
https://www.rascal.cc/membership-application/

Any suggestions would be greatly appreciated.

Thank you.
Attachments:
User 187934 Photo


Senior Advisor
20,239 posts

I would open a support topic as I think CC needs to look at this. I think they have been made aware but can't remember if another user did a support topic or not.
https://www.coffeecup.com/help/myroom/
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.