MikeLundahl The error Base table or view already exists: 1050 Table "post_mentions_tag"
is from a flarum/tags v1.8.0 migration... unrelated to this extension. But if you're having issues there, those might expand to this extension too.
Is there more in the "Can't DROP FOREIGN KEY" error? I assume it ends with "check that it exists", but I'm not that familiar with SQL errors to know for sure. If it does, could you check the last migration of fof/polls that ran (in migrations table, last entry with extension = 'fof-polls'
) and also send the table structure? The column discussion_id
in polls
table should have a foreign key...
Just to be aware, if you attempt to downgrade to 1.4, your permissions will be messed up, since they were renamed on the migration that probably last succeeded (2023_07_05_000001_rename_permissions
). In this case, I'd recommend deleting all discussion.polls.*
, tagID.discussion.polls.*
, and polls.*
permissions in the group_permissions
table before downgrading, otherwise you'll encounter errors again when upgrading. Again, only if you plan on downgrading back to a working version and don't have backups available.