Cannot reinstall oembed module

Created on 28 November 2012, almost 12 years ago
Updated 8 October 2023, about 1 year ago

I uninstalled oembed module from Drupal 7 site some time ago, probably used Drush, but I may have just disabled and deleted directory (I know...). I am pretty sure I did a "proper" uninstall.

In any case, tried to do a drush dl and drush pm-enable of dev release and received error. Checked db using phpMyAdmin and I seem to still have two oembed tables kicking around: oembedcore_provider table and oembedcore_preset. Question: Can I just delete these two tables from the db and try to Drush pm-enable again, or will that cause more problems?

Drush error follows:

WD php: DatabaseSchemaObjectExistsException: Table [error]
oembedcore_provider already exists. in DatabaseSchema->createTable()
(line 657 of /var/www/html/includes/database/schema.inc).
Cannot modify header information - headers already sent by (output [warning]
started at /usr/local/share/drush/includes/output.inc:37)
bootstrap.inc:1212
DatabaseSchemaObjectExistsException: Table oembedcore_provider already exists. in DatabaseSchema->createTable() (line 657 of /var/www/html/includes/database/schema.inc).

🐛 Bug report
Status

Fixed

Version

0.0

Component

Miscellaneous

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.71.5 2024