Not sure if this is a bug or something making ubercart and heartbeat not play well together. but I get this error whenever I attempt to delete any content.
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'lotsy_drupal.flag_content' doesn't exist: DELETE FROM {flag_content} WHERE (content_type = :db_condition_placeholder_0) AND (content_id IN (:db_condition_placeholder_1)) ; Array ( [:db_condition_placeholder_0] => heartbeat_activity [:db_condition_placeholder_1] => 23 ) in HeartbeatFlagPlugin->activityRemoved() (line 106 of /home/site/public_html/sites/all/modules/heartbeat/modules/heartbeat_plugins/includes/heartbeatflagplugin.inc)
I disabled all but heartbeat activity and I could delete delete again with no errors.

Comments

saravananr971’s picture

same problems anybody help me

JohnnyW’s picture

Same issue. Any suggestions?

manumad40’s picture

Almost identical issue here, in this case I was trying to delete content generated from the user_content_type module. Same error even when trying to uninstall that module, as this implies to delete its own contents.

I had to uninstall Heartbeat plugins. To avoid any aditional problem, I also uninstalled Heartbeat Activity and all other modules related to Heartbeat. Then, I could uninstall User Content Type without any error message and its contents were gone. Finally, I reinstalled all Heartbeat modules and all seems to be running ok again.

manumad40’s picture

Status: Active » Closed (duplicate)

More info and patches are available at these issues:
Error with flag2.0
Error when trying to delete node.

Closing this one as duplicate.

moustafa9’s picture

manumad40 i`m so grateful for you, thx much