XF\Repository\Bookmark::createLabelForUser can throw an internal server error for duplicate labels

Status
This content is read-only, or is not open for further replies.

Xon

Guest
offline
If a user submits twice rapidly; instead of a useful message for users, an internal server error is instead generated.

Code:

Code:
[LIST]
[*]XF\Db\DuplicateKeyException: MySQL query error [1062]: Duplicate entry 'epic beatdown-529994' for key 'label_user_id'
[*]src/XF/Db/AbstractStatement.php:230
[*]Generated by: xxx
[*]Sep 21, 2023 at 5:30 AM
[/LIST]
[HEADING=2]Stack trace[/HEADING]
INSERT  INTO `xf_bookmark_label` (`label`, `user_id`, `label_url`, `label_id`, `use_count`, `last_use_date`) VALUES (?, ?, ?, ?, ?, ?)...

Read more

Continue reading...

free plugins
minecraft paid for free
free minecraft paid plugins
free minecraft plugins
spigotmc
SpigotMC
aac free
ewg free
Minecraft Premium Plugins
ewg free download
litebans free
epicworldgenerator free
free schematics
leaked schematics minecraft
schematics
schematics leaked
schematics free
minecraft schematics free
paid minecraft schematics free
paid minecraft schematics for free
free cracked plugins
free cracked minecraft plugins
plugins
featherboard download
featherboard plugin download
antiaura download
xenforo leaked
xenforo for free
xenforo addons
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom