NamelessMC

Internet Explorer

Internet Explorer is not supported. Please upgrade to a more modern browser.

Bug Error after registration
Started by YTAli

YTAli

YTAli

Member
Joined
21 Mar 2021
Last Seen
20 Aug 2024
Topics
3
Posts
6

When I register comes a fatal error and when I reload the page comes that:

If I look in the panel for the user, he is also there, but it comes just when registering this error:



Nameless Version: 2.1.1

cache/logs/fatal-log.log:
[2023-08-21, 11:35:48] C:\xampp\htdocs\core\classes\Database\DB.php(253): SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`forum`.`nl2_users_groups`, CONSTRAINT `nl2_users_groups_ibfk_2` FOREIGN KEY (`group_id`) REFERENCES `nl2_groups` (`id`) ON DELETE CASCADE ON UPDATE CASCADE)

 

nl2_groups: (DATABASE)

YTAli · about 1 year ago · Last edited: about 1 year ago
Samerton

Samerton

Owner
Joined
30 Mar 2015
Last Seen
22 Dec 2024
Topics
41
Posts
1076

Hi,

Can you please edit your default group in the staff control panel -> Groups tab, and without changing any of the fields click "Submit" at the bottom.

Samerton · about 1 year ago
YTAli

YTAli

Member
Joined
21 Mar 2021
Last Seen
20 Aug 2024
Topics
3
Posts
6

Same error

YTAli · about 1 year ago
Samerton

Samerton

Owner
Joined
30 Mar 2015
Last Seen
22 Dec 2024
Topics
41
Posts
1076

A fix should be available in the next release which will hopefully be available in the near future.

Samerton · about 1 year ago