Skip to content
This repository was archived by the owner on Dec 22, 2025. It is now read-only.
This repository was archived by the owner on Dec 22, 2025. It is now read-only.

新增数据,数据库报错 #4

@Jefsky

Description

@Jefsky

SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '3' at line 1
Typecho_Db_Query_Exception: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '3' at line 1 in /var/www/blog/var/Typecho/Db/Adapter/Pdo.php:105
Stack trace:
#0 /var/www/blog/var/Typecho/Db.php(368): Typecho_Db_Adapter_Pdo->query('3', Object(PDO), 1, 'SELECT', NULL)
#1 /var/www/blog/usr/plugins/WeChatHelper/Widget/CustomReply.php(209): Typecho_Db->query('3')
#2 /var/www/blog/usr/plugins/WeChatHelper/Widget/CustomReply.php(313): WeChatHelper_Widget_CustomReply->insertCustomReply()
#3 /var/www/blog/usr/plugins/WeChatHelper/Action.php(79): WeChatHelper_Widget_CustomReply->action()
#4 /var/www/blog/var/Widget/Do.php(82): WeChatHelper_Action->action()
#5 /var/www/blog/var/Typecho/Widget.php(221): Widget_Do->execute()
#6 /var/www/blog/var/Typecho/Router.php(135): Typecho_Widget::widget('Widget_Do', NULL, Array)
#7 /var/www/blog/index.php(23): Typecho_Router::dispatch()
#8 {main}

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