I keep getting this error when in configuration I try to Allow anonymous users to submit their contact informations "FieldException: Attempt to create an instance of a field field_anonymous_author that doesn't exist or is currently inactive. in field_create_instance() "

Comments

drikc’s picture

Yes, it happened because the module installation failed at some point and is not fully installed. It appear that in some situations the installation can fail (steel have to figure those cases).

Could you try to disable, uninstall then reinstall the module and tell me if it failed at reinstall?

aliasnero’s picture

When I first try to install the module 7.x version I get the folowing error: "FieldException: Attempt to create a field of unknown type anonymous_author. in field_create_field() (line 107 of .../modules/field/field.crud.inc)."
When I go back and try again to install the module there is no error but when I go to configuration I get again, an error: "FieldException: Attempt to create an instance of a field field_anonymous_author that doesn't exist or is currently inactive. in field_create_instance() (line 455 of .../modules/field/field.crud.inc)."
I tried this several times and got the same result. I hope you could fix the bug because this is a great module.
Thx!

drikc’s picture

Title: Bug!? » FieldException: Attempt to create a field of unknown type anonymous_author.
Priority: Normal » Critical

Thank a lot for doing the steps.

Please install the new 7.x-1.x by first disabling and uninstalling the module. Let me know if it goes through the install without the FieldException. If yes you should be able to do the configuration.

aliasnero’s picture

As you suggested I uninstaled and deleted the module and then dowloaded again and at install I got the same FieldException bug.

Then I went back and cleared all caches in Configuration>Performance, and now everything works just fine.

drikc’s picture

Ok, thank you for your report.

yashadev’s picture