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

Intermittent errors on save #23

Open
lboaretto opened this issue Nov 21, 2017 · 0 comments
Open

Intermittent errors on save #23

lboaretto opened this issue Nov 21, 2017 · 0 comments

Comments

@lboaretto
Copy link

lboaretto commented Nov 21, 2017

SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`site`.`craft_focuspoint_focuspoints`, CONSTRAINT `craft_focuspoint_focuspoints_assetId_fk` FOREIGN KEY (`assetId`) REFERENCES `craft_assetfiles` (`id`))
#17 /home/forge/site.com/craft/app/framework/db/CDbCommand.php(358): execute
#16 /home/forge/site.com/craft/app/framework/db/ar/CActiveRecord.php(1084): insert
#15 /home/forge/site.com/craft/app/framework/db/ar/CActiveRecord.php(812): save
#14 /home/forge/site.com/craft/plugins/focuspoint/services/FocusPoint_FocusPointService.php(43): createOrUpdateFocusPoint
#13 /home/forge/site.com/craft/plugins/focuspoint/fieldtypes/FocusPoint_FocusPointFieldType.php(94): onAfterElementSave
#12 /home/forge/site.com/craft/app/services/ElementsService.php(1606): saveElement
#11 /home/forge/site.com/craft/app/services/EntriesService.php(176): saveEntry
#10 /home/forge/site.com/craft/app/controllers/EntriesController.php(462): actionSaveEntry
#9 /home/forge/site.com/craft/app/framework/web/actions/CInlineAction.php(49): runWithParams
#8 /home/forge/site.com/craft/app/framework/web/CController.php(308): runAction
#7 /home/forge/site.com/craft/app/framework/web/CController.php(286): runActionWithFilters
#6 /home/forge/site.com/craft/app/framework/web/CController.php(265): run
#5 /home/forge/site.com/craft/app/framework/web/CWebApplication.php(282): runController
#4 /home/forge/site.com/craft/app/etc/web/WebApp.php(823): _processActionRequest
#3 /home/forge/site.com/craft/app/etc/web/WebApp.php(287): processRequest
#2 /home/forge/site.com/craft/app/framework/base/CApplication.php(185): run
#1 /home/forge/site.com/craft/app/index.php(62): require_once
#0 index.php(27): null

PHP: 7.0.22
Craft: 2.6.2994
MySQL: 10.1.24-MariaDB

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

No branches or pull requests

1 participant