Active
Project:
Anonymous Posting
Version:
7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 May 2011 at 09:30 UTC
Updated:
4 Jun 2012 at 15:14 UTC
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
Comment #1
drikc commentedYes, 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?
Comment #2
aliasnero commentedWhen 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!
Comment #3
drikc commentedThank 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.
Comment #4
aliasnero commentedAs 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.
Comment #5
drikc commentedOk, thank you for your report.
Comment #6
yashadev commented#1169846: FieldException: Attempt to create an instance of a field field_anonymous_author is marked as a duplicate of this issue