Skip to content

Error: Exception: SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect string value #21

@chriswthomson

Description

@chriswthomson

Trying to embed

https://www.youtube.com/watch?v=W2omjkNmse4

Throws this error:

Error: Exception: SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect string value: '\xCC\x88dens...' for column db.textformatter_video_embed.embed_code at row 1 (in WireDatabasePDOStatement.php line 168)

#0 WireDatabasePDOStatement.php (168): PDOStatement->execute(NULL)
#1 WireDatabasePDOStatement.php (148): WireDatabasePDOStatement->executeDebug(NULL)
#2 site/modules/TextformatterVideoEmbed/TextformatterVideoEmbed.module (306): WireDatabasePDOStatement->execute()
#3 site/modules/TextformatterVideoEmbed/TextformatterVideoEmbed.module (235): TextformatterVideoEmbed->getNewEmbedCode('https://www.you...', 'w2omjknmse4', 'https://www.you/...', true)
#4 site/modules/TextformatterVideoEmbed/TextformatterVideoEmbed.module (472): TextformatterVideoEmbed->getEmbedCode('https://www.you...', 'w2omjknmse4', 'ht

This appears to be caused by the ö in the video title.

Can this be remedied? This is on version 2.0.2.

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