8

I've unfortunately run into a rather major issue on an existing Drupal site. I recently applied the updated from core 7.12 to core 7.14. Since then, I can create new content in the admin panel, yet I cannot edit or make any changes to existing content. I see the following errors:

  • Warning: array_merge() [function.array-merge]: Argument #1 is not an array in _form_set_class() (line 4134 of .../form.inc).
  • Warning: implode() [function.implode]: Invalid arguments passed in theme_radios() (line 2809 of .../form.inc).
  • An illegal choice has been detected. Please contact the site administrator.

I deleted and reverted the site back to how it was before running these updates, yet again, after updating Drupal core, I still can't edit any content. Is there any direction that can be given in resolving this issue?

1 Answer 1

1

I had an issue similar to this. The update to Drupal core caused issues with content types using the References Dialog module. We noticed that altering any nodes with a type using these reference dialog fields had issues. What tipped me off was that the other content types didn't have an issue. Odds are that this error is being caused by another module. Here are a couple things you can try in a development environment:

  1. Create a new content type with core fields (a title, body, and maybe an image field will work). Do you get the same problem?

  2. Verify whether or not all of your content types are affected. I know you said you can't alter any content, but you can save yourself time by being absolutely sure. Choose a few nodes for each type and try editing them to see if you get any other issues. If you see that there are only some content types affected, you can find out what fields / widgets they're using and start to deduct which one is causing the problem.

Good luck!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.