An exception has occured - custom attribute1 user found helpful
I have migrated from XAMPP to hosted solution (linux) and have started getting the following error message whenever I try to add an image via a custom thumbnail attribute:
An exception occurred while executing 'INSERT INTO atFile (fID, avID) VALUES (?, ?)' with params [1, 7394]: SQLSTATE: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`nextcode_wildtech`.`atFile`, CONSTRAINT `FK_73D17D61E3111F45` FOREIGN KEY (`fID`) REFERENCES `files` (`fID`) ON DELETE CASCADE)
I can add images to a page using the content block etc but for some reason this issue is popping up with the custom page attribute.
Looking at the error I see that REFERENCES `files` (`fID`) is the wrong case for the Files table but I'm not sure where that call is coming from.
Any help would be greatly appreciated.
Seems to be a big issue all of a sudden according to a number of threads, I'm curious if anyone has a definitive way of getting around this?