codefog / contao-instagram

Contao extension that displays Instagram feed on your website
MIT License
11 stars 12 forks source link

Integrity constraint violation: 1062 Duplicate entry #33

Closed Metis77 closed 3 years ago

Metis77 commented 3 years ago

After updating from an older v1 version of this plugin we get this error:

Integrity constraint violation: 1062 Duplicate entry '53' for key 'PRIMARY'" at /var/www/vhosts/***/httpdocs/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 74 null []

We could get a Instagram Access Token and the images are sucessfully downloaded. But the frontend generates this error.

qzminski commented 3 years ago

Would you be able to open the website in dev mode and shed some more light on the query that fails?

Metis77 commented 3 years ago

Does this help? Would you need anything else?

dionysius ch 83-169-33-59 wolke7 hauptwolke de_ (1)

qzminski commented 3 years ago

Can you please try dev-hotfix/2.2.2 branch and see if 5f7b256 solves your problem?

Metis77 commented 3 years ago

wow thanks for that. let me know, I we can support / fund this project a little

sorrily we now get another error:

Bildschirmfoto 2021-01-07 um 12 06 54 Bildschirmfoto 2021-01-07 um 12 07 19
qzminski commented 3 years ago

I am not sure what's wrong with the model registry, but 1dfd90e81e5a5f800c8b1855c64e65750afed225 should fix it now 😉

qzminski commented 3 years ago

I have just released 2.2.2 stable :+1: