0

After clicking Continue @ /update.php, we receive:

Fatal error: Cannot redeclare uc_order_views_data() (previously declared in /home/user/public_html/sites/all/modules/ubercart/uc_order/views/uc_order.views.inc:13) in /home/user/public_html/sites/all/modules/contrib/ubercart/uc_order/views/uc_order.views.inc on line 708

When I remove either version of the ubercart directories, the /update.php process complains that the directory is missing.

I can't see a double-up of modules in /admin/modules

The two ubercart directories both contain the same subfolders.

I did not develop the website, but took over maintenance of it.

1 Answer 1

0

"When I remove either version ..."

"I can't see a double-up of modules in /admin/modules"

"The two ubercart directories both contain the same subfolders."

It sounds like you have two copies of Ubercart on your server. THAT IS NOT ALLOWED for ANY Drupal module. You must have one, and only one, copy of each module.

The correct way to update a Drupal module is to completely remove the old version of the module code first, then replace it with the new version of the code. Then you can run update.php.

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.