sp0ck wrote: Wed Apr 14, 2021 1:33 pm
taciturn wrote: Wed Apr 14, 2021 1:27 pm
In the developer window I see the script injections.js do a POST and the server returns a 500 error.
Thank you for your feedback. Can you please check the network tab in the dev console and check the preview/response of the 500 error Request?
Please post it here.
Ah yes ... SQL error:
"message": "SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1129' for key 'PRIMARY' (SQL: insert into `player_ranking` (`player_id`, `final_score`, `username`, `points_sum`, `season_games`, `average_score`) values (1129, 0, taciturn, 0, 0, 0))",
"exception": "Illuminate\\Database\\QueryException",
"file": "/var/www/pokerth/pthranking/vendor/laravel/framework/src/Illuminate/Database/Connection.php",
"line": 678,