I Try Make A player and have this ERROR!! I need Help plz!
Player::make() Cannot insert attributes:
Error #1452
INSERT INTO `players` (`id`,`name`,`account_id`,`vocation`,`sex`,`level`,`experience`,`health`,`healthmax`,`looktype`,`maglevel`,`mana`,`manamax`,`cap`,`town_id`,`posx`,`posy`,`posz`) VALUES (NULL,'Thrillseeka',835040,0,1,1,0,150,150,130,0,0,0,400,1,1492,1278,7);
Cannot add or update a child row: a foreign key constraint fails (`otserv2/players`, CONSTRAINT `players_ibfk_2` FOREIGN KEY (`group_id`) REFERENCES `groups` (`id`))
player.php on line: 189
Script was terminated because something unexpected happened. You can report this, if you think it's a bug.
Player::make() Cannot insert attributes:
Error #1452
INSERT INTO `players` (`id`,`name`,`account_id`,`vocation`,`sex`,`level`,`experience`,`health`,`healthmax`,`looktype`,`maglevel`,`mana`,`manamax`,`cap`,`town_id`,`posx`,`posy`,`posz`) VALUES (NULL,'Thrillseeka',835040,0,1,1,0,150,150,130,0,0,0,400,1,1492,1278,7);
Cannot add or update a child row: a foreign key constraint fails (`otserv2/players`, CONSTRAINT `players_ibfk_2` FOREIGN KEY (`group_id`) REFERENCES `groups` (`id`))
player.php on line: 189
Script was terminated because something unexpected happened. You can report this, if you think it's a bug.