Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By riverchelle on
I have a Drupal 6 site. When I try to edit a page I get the error:
Fatal error: Cannot redeclare filefield_widget_settings_form() (previously declared in /home/clarendo/public_html/modules/filefield/filefield_widget.inc:15) in /home/clarendo/public_html/modules/Gallery/filefield/filefield_widget.inc on line 89
Can anyone offer any advice as to what to do please? This was working correctly earlier. I do not have a backup from earlier :-(
Thank you
Comments
Did you recently install any
Did you recently install any modules or update anything?
Looking at the file paths in
Looking at the file paths in the error, it looks like you've created a copy of the filefield module inside the gallery module. You now have two copies of the filefield module which is causing the error. Try deleting one, if it doesn't work, put it back and delete the other.