SQL error while inserting name #138

Open
opened 2025-07-22 18:02:17 -05:00 by Zankaria · 0 comments
Owner
PDOException: SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'name' at row 1 in /<PATH>/inc/functions.php:1121
Stack trace:
#0 /<PATH>/inc/functions.php(1121): PDOStatement->execute()
#1 /<PATH>/post.php(1486): post()
#2 /<PATH>/post.php(1660): handle_post()
#3 {main}

Most likely due to the filters extending the name. How do we even handle this? Truncation? Error?

``` PDOException: SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'name' at row 1 in /<PATH>/inc/functions.php:1121 Stack trace: #0 /<PATH>/inc/functions.php(1121): PDOStatement->execute() #1 /<PATH>/post.php(1486): post() #2 /<PATH>/post.php(1660): handle_post() #3 {main} ``` Most likely due to the filters extending the name. How do we even handle this? Truncation? Error?
Zankaria added the
Bug
label 2025-07-22 18:02:17 -05:00
Sign in to join this conversation.
No labels
Bug
Proposal
Request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: leftypol/leftypol#138
No description provided.