Error in Form php file - Post ID 292181

User 2140875 Photo


Registered User
325 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
325 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
19,131 posts
Online Now

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

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.