[22-Apr-2026 11:38:10 UTC] sync_product_update.php error: Cannot add or update a child row: a foreign key constraint fails (`gjcorder_glounge_test_soft`.`product_ingredients`, CONSTRAINT `product_ingredients_ibfk_1` FOREIGN KEY (`prod_id`) REFERENCES `products` (`prod_id`))
[04-May-2026 08:02:45 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE brand_id = '26'' at line 4 in /home/gjcorder/gloung.com/admin/update_branch_database/sync_brand.php:75
Stack trace:
#0 /home/gjcorder/gloung.com/admin/update_branch_database/sync_brand.php(75): mysqli_query(Object(mysqli), 'UPDATE brands S...')
#1 {main}
  thrown in /home/gjcorder/gloung.com/admin/update_branch_database/sync_brand.php on line 75
[04-May-2026 08:02:50 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE brand_id = '26'' at line 4 in /home/gjcorder/gloung.com/admin/update_branch_database/sync_brand.php:75
Stack trace:
#0 /home/gjcorder/gloung.com/admin/update_branch_database/sync_brand.php(75): mysqli_query(Object(mysqli), 'UPDATE brands S...')
#1 {main}
  thrown in /home/gjcorder/gloung.com/admin/update_branch_database/sync_brand.php on line 75
[04-May-2026 08:15:57 UTC] Sync error: Duplicate entry '170' for key 'PRIMARY'
[04-May-2026 08:15:57 UTC] Sync error: Duplicate entry '170' for key 'PRIMARY'
[04-May-2026 08:15:57 UTC] Sync error: Duplicate entry '170' for key 'PRIMARY'
[04-May-2026 08:15:57 UTC] Sync error: Duplicate entry '170' for key 'PRIMARY'
[04-May-2026 08:15:57 UTC] Sync error: Duplicate entry '170' for key 'PRIMARY'
[04-May-2026 08:15:57 UTC] Sync error: Duplicate entry '170' for key 'PRIMARY'
[04-May-2026 08:16:54 UTC] sync_product_update.php error: Cannot add or update a child row: a foreign key constraint fails (`gjcorder_glounge_soft`.`product_ingredients`, CONSTRAINT `product_ingredients_ibfk_1` FOREIGN KEY (`prod_id`) REFERENCES `products` (`prod_id`))
[04-May-2026 08:16:54 UTC] sync_product_update.php error: Cannot add or update a child row: a foreign key constraint fails (`gjcorder_gloung_admin2`.`product_ingredients`, CONSTRAINT `product_ingredients_ibfk_1` FOREIGN KEY (`prod_id`) REFERENCES `products` (`prod_id`))
[04-May-2026 08:16:54 UTC] sync_product_update.php error: Cannot add or update a child row: a foreign key constraint fails (`gjcorder_gloung_admin3`.`product_ingredients`, CONSTRAINT `product_ingredients_ibfk_1` FOREIGN KEY (`prod_id`) REFERENCES `products` (`prod_id`))
[04-May-2026 08:16:54 UTC] sync_product_update.php error: Cannot add or update a child row: a foreign key constraint fails (`gjcorder_gloung_admin4`.`product_ingredients`, CONSTRAINT `product_ingredients_ibfk_1` FOREIGN KEY (`prod_id`) REFERENCES `products` (`prod_id`))
[04-May-2026 08:16:54 UTC] sync_product_update.php error: Cannot add or update a child row: a foreign key constraint fails (`gjcorder_gloung_admin5`.`product_ingredients`, CONSTRAINT `product_ingredients_ibfk_1` FOREIGN KEY (`prod_id`) REFERENCES `products` (`prod_id`))
[04-May-2026 08:16:54 UTC] sync_product_update.php error: Cannot add or update a child row: a foreign key constraint fails (`gjcorder_gloung_admin6`.`product_ingredients`, CONSTRAINT `product_ingredients_ibfk_1` FOREIGN KEY (`prod_id`) REFERENCES `products` (`prod_id`))
[23-Jun-2026 08:28:20 UTC] sync_product_update.php error: Cannot add or update a child row: a foreign key constraint fails (`gjcorder_gloung_admin7`.`product_ingredients`, CONSTRAINT `product_ingredients_ibfk_2` FOREIGN KEY (`ingredient_id`) REFERENCES `ingredients` (`ingredients_id`))
[23-Jun-2026 08:28:23 UTC] sync_product_update.php error: Cannot add or update a child row: a foreign key constraint fails (`gjcorder_gloung_admin7`.`product_ingredients`, CONSTRAINT `product_ingredients_ibfk_2` FOREIGN KEY (`ingredient_id`) REFERENCES `ingredients` (`ingredients_id`))
[23-Jun-2026 08:32:03 UTC] sync_product_update.php error: Cannot add or update a child row: a foreign key constraint fails (`gjcorder_gloung_admin7`.`product_ingredients`, CONSTRAINT `product_ingredients_ibfk_2` FOREIGN KEY (`ingredient_id`) REFERENCES `ingredients` (`ingredients_id`))
[23-Jun-2026 08:32:06 UTC] sync_product_update.php error: Cannot add or update a child row: a foreign key constraint fails (`gjcorder_gloung_admin7`.`product_ingredients`, CONSTRAINT `product_ingredients_ibfk_2` FOREIGN KEY (`ingredient_id`) REFERENCES `ingredients` (`ingredients_id`))
[25-Jun-2026 08:24:05 UTC] Sync error: Cannot add or update a child row: a foreign key constraint fails (`gjcorder_gloung_admin7`.`product_ingredients`, CONSTRAINT `product_ingredients_ibfk_2` FOREIGN KEY (`ingredient_id`) REFERENCES `ingredients` (`ingredients_id`))
