Fatal error: Uncaught PDOException: SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`schuhe_g`.`warenkorb`, CONSTRAINT `warenkorb_ibfk_1` FOREIGN KEY (`u_id`) REFERENCES `user` (`u_id`) ON DELETE NO ACTION ON UPDATE NO ACTION) in /var/www/vhosts/xn--schuhegssinger-1pb.digbizmistelbach.info/httpdocs/funktions/korb2.php:120
Stack trace:
#0 /var/www/vhosts/xn--schuhegssinger-1pb.digbizmistelbach.info/httpdocs/funktions/korb2.php(120): PDOStatement->execute()
#1 /var/www/vhosts/xn--schuhegssinger-1pb.digbizmistelbach.info/httpdocs/funktions/korb2.php(200): addGroesseZuWarenkorb()
#2 {main}
thrown in /var/www/vhosts/xn--schuhegssinger-1pb.digbizmistelbach.info/httpdocs/funktions/korb2.php on line 120