My work has recently got a Drupal website up and running and I was making some changes to adv forum today and I was editing the Content Types for forum topics (to remove the download button that appeared when a user created topics) but in deleting this I appear to now have this error:

Warning: Invalid argument supplied for foreach() in forum_menu_local_tasks_alter() (line 175 of /home/www/uniqinfo/htdocs/modules/forum/forum.module).

and the topic for each forum no longer follows the theme (its borderless etc) and now noone (including admins can post a new topic)

clearly I have made a fatal error, I have all the original files is there anything I can do/correct to get back to how it was previously?
I have tried adding back the downloads bit to the content types but to no avail..

any help would be appreciated.

Comments

greenskunk’s picture

Please read the posts at http://drupal.org/node/1157142#comment-4912378 as this deals with the error you have.

"It is a damn poor day when you don't learn something!" - Mr. Jones, teacher

iamtheoneneo’s picture

thanks for the link, i have had a look through it and it seems there is no firm answer to this.

I have nailed down the problem essentially it is because I removed in the forum content type a row called:

label - Forums
Name taxonomy_forums
field - term reference

How do i get this back? I have tried adding it but everytime I do the name doesn't start with taxonomy but field_ instead? even if i set the field as Term Reference?

Feel its worth a try to at least restore this first if there any possibility..