You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Line 308
The text was updated successfully, but these errors were encountered:
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.
Line 308
The text was updated successfully, but these errors were encountered: