Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when running craft db/convert-charset #14815

Closed
tommysvr opened this issue Apr 11, 2024 · 3 comments
Closed

Error when running craft db/convert-charset #14815

tommysvr opened this issue Apr 11, 2024 · 3 comments
Assignees
Labels

Comments

@tommysvr
Copy link

Description

General error: 3780 Referencing column 'shopifyId' and referenced column 'shopifyId' in foreign key constraint 'fk_pxtdskovbiwpklhsqlvihxtbgoastdqcwxmz' are incompatible.'

Steps to reproduce

  1. Install Shopify plugin
  2. Run php craft db/convert-charset
  3. Proceed with the defaults utf8 & utf8_unicode_ci

Additional info

  • Craft version: 4.8.9
  • PHP version: 8.2
  • Database driver & version: MySQL 5.7 / 8.0
  • Plugins & versions: Shopify 4.1.1
@tommysvr tommysvr added the bug label Apr 11, 2024
Copy link

linear bot commented Apr 11, 2024

@nfourtythree nfourtythree transferred this issue from craftcms/shopify Apr 15, 2024
@i-just i-just self-assigned this Apr 15, 2024
@brandonkelly
Copy link
Member

Thanks for reporting that! It’s been fixed for the next Craft release.

You can get the fix ahead of time by changing your craftcms/cms requirement in composer.json to "4.x-dev as 4.8.9", and running composer update.

@brandonkelly
Copy link
Member

Craft 4.8.10 and 5.0.5 are out with that fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants