Skip to content

Getting constraint violation exception in quick successions when YAPCache is enabled #4

Description

@tharunkc93

[25-Sep-2019 10:32:29 UTC] PHP Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'jwbg' for key 'PRIMARY'' in /home/omoto/public_html/includes/vendor/aura/sql/src/ExtendedPdo.php:748
Stack trace:
#0 /home/omoto/public_html/includes/vendor/aura/sql/src/ExtendedPdo.php(748): PDOStatement->execute()
#1 /home/omoto/public_html/includes/vendor/aura/sql/src/ExtendedPdo.php(306): Aura\Sql\ExtendedPdo->perform('INSERT INTO yo...', Array) #2 /home/omoto/public_html/includes/functions.php(161): Aura\Sql\ExtendedPdo->fetchAffected('INSERT INTO yo...', Array)
#3 /home/omoto/public_html/includes/functions.php(278): yourls_insert_link_in_db('https://survey....', 'jwbg', 'https://survey....')
#4 /home/omoto/public_html/includes/functions-api.php(21): yourls_add_new_link('https://survey....', '', '')
#5 [internal function]: yourls_api_action_shorturl(false)
#6 /home/omoto/public_html/includes/functions-plugins.php(150): call_user_func_array('yourls_api_acti...', Array)
#7 /home/omoto/pu in /home/omoto/public_html/includes/vendor/aura/sql/src/ExtendedPdo.php on line 748

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions