Jump to content

FormBuilder - Compile Error: Cannot declare interface InputfieldFormBuilderInterface, because the name is already in use


caffeineben
 Share

Recommended Posts

Hello! Hoping someone knows why I am getting this error. The form I created actually works fine but when I go into the backend and click MODULES - any of the links - the only thing I see is this error.

Quote

Compile Error: Cannot declare interface InputfieldFormBuilderInterface, because the name is already in use (line 15 of site/modules/FormBuilder/InputfieldFormBuilder.php) 

I am not 100% sure but I may have removed this module by deleting it instead of uninstalling it and wondering if when I reuploaded the module it has caused this error?

I removed the module because my whole site shut down due to an error I was getting from the FormBuilder module. It was a while ago. Again - site works fine. Form works fine. Just can't click on the modules tab in the admin at all.

Thank you for any help!

Link to comment
Share on other sites

OK. So when I refreshed and cleared my cache my whole site was down with a 500 server error. I believe this is why I removed FormBuilder last time. Same error above but could now view any pages on the site. So I just manually removed it again - site is back up. 

Link to comment
Share on other sites

This time I removed it manually again. Then I was able to click on module links in the admin. I went to "missing". FormBuilder showed up as missing. I checked the box to remove it and saved it. Everything was working. I reinstalled it by manually uploading the FormBuilder files and am back to the same error (although the site is currently still up.

Trying to share as much as possible. I assume it is something simple for people that know more than me!!

 

Link to comment
Share on other sites

Continuing to post in case this can help someone else. Removed everything again including the cache files. This time I went back to my original module download which I still have. I had been uploading the FormBuilder folder I removed from the website and I think that was causing me the same problem over and over.

So once I uploaded the clean original FormBuilder folder - no more errors.

There was one other glitch. Under the Forms link where you go to see your forms and submissions - it was showing "This page has no Process assigned." so I was unable to do anything. Then I went on another thread that told me where I could reassign the process. This is under admin/setup where the FORMS page appears. I simply linked up the FormBuilder process and everything is working AND all my old forms and submissions are all there and intact.

Guessing this is all obvious to some of the better coders out there but just in case someone is having similar problems - glad to say that I got it all working again after much effort!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...