Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Versioning issue causes crash 3.2.4 & 3.2.5 #2843

Closed
AndrewJChapman opened this issue Feb 9, 2024 · 0 comments
Closed

Versioning issue causes crash 3.2.4 & 3.2.5 #2843

AndrewJChapman opened this issue Feb 9, 2024 · 0 comments
Assignees
Labels
Milestone

Comments

@AndrewJChapman
Copy link

Hi, my first post here.
I have FAQ versioning turned on, currently 3.2.5, although same error in previous version.
If I edit a FAQ and select a previous version, then save the FAQ, I get the error below.
Video of the error

Error -

phpMyFAQ Fatal error

Uncaught exception: 'mysqli_sql_exception'
Message: 'Duplicate entry '2-en-1001-16' for key 'PRIMARY''
Stack trace:
#0 /home/sites/31b/b/b9a5461387/public_html/documents/src/phpMyFAQ/Database/Mysqli.php(308): mysqli->query('\n IN...')
#1 /home/sites/31b/b/b9a5461387/public_html/documents/src/phpMyFAQ/Revision.php(55): phpMyFAQ\Database\Mysqli->query('\n IN...')
#2 /home/sites/31b/b/b9a5461387/public_html/documents/admin/record.save.php(119): phpMyFAQ\Revision->create(2, 'en')
#3 /home/sites/31b/b/b9a5461387/public_html/documents/admin/index.php(358): require('/home/sites/31b...')
#4 {main}
See below, there was a revision_id 17 which I deleted to see what happened, same error.
2024-02-09_15-54-54
Line 308
2024-02-09_11-20-07

@thorsten thorsten self-assigned this Feb 9, 2024
@thorsten thorsten added the Bug label Feb 9, 2024
@thorsten thorsten added this to the 3.2.6 milestone Feb 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: Done
Development

No branches or pull requests

2 participants