Skip to content

Unhandled error when deleting a topic #26

@Sepp71

Description

@Sepp71

If you delete a topic that has already been deleted (e.g. by adressing it from another browser window/instance) this results in a general error that seems to base on hidebbcode:
`General Error
SQL ERROR [ mysql4 ]

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 '' at line 3 [1064]

SQL

SELECT forum_id FROM dr_topics WHERE topic_id =

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 855
CALL: trigger_error()

FILE: [ROOT]/phpbb/db/driver/mysql.php
LINE: 181
CALL: phpbb\db\driver\driver->sql_error()

FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 329
CALL: phpbb\db\driver\mysql->sql_query()

FILE: [ROOT]/ext/marcovo/hideBBcode/event/listener.php
LINE: 251
CALL: phpbb\db\driver\factory->sql_query()

FILE: [ROOT]/ext/marcovo/hideBBcode/event/listener.php
LINE: 235
CALL: marcovo\hideBBcode\event\listener->check_user_posted_by_topicId()

FILE: [ROOT]/ext/marcovo/hideBBcode/event/listener.php
LINE: 187
CALL: marcovo\hideBBcode\event\listener->check_user_posted_by_postId()

FILE: (not given by php)
LINE: (not given by php)
CALL: marcovo\hideBBcode\event\listener->check_user_posted_posting()

FILE: [ROOT]/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php
LINE: 158
CALL: call_user_func()

FILE: [ROOT]/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php
LINE: 46
CALL: Symfony\Component\EventDispatcher\EventDispatcher->doDispatch()

FILE: [ROOT]/phpbb/event/dispatcher.php
LINE: 60
CALL: Symfony\Component\EventDispatcher\EventDispatcher->dispatch()

FILE: [ROOT]/phpbb/event/dispatcher.php
LINE: 46
CALL: phpbb\event\dispatcher->dispatch()

FILE: [ROOT]/posting.php
LINE: 104
CALL: phpbb\event\dispatcher->trigger_event()`

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