Uploaded image for project: 'Support Team Tools'
  1. Support Team Tools
  2. STT-319

Undefined variable: topic_ids

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Hi,

      I've tested the new feature "Orphaned Posts"

      From the BDD, i've manually deleted a topic record, eg. with the following SQL request

      DELETE FROM `phpbb_topics` WHERE `phpbb_topics`.`topic_id` = 30;


      After that, i've used this new tool.

      It has well identified all orphaned posts, but when I try to reassign 1 or 2 posts to a topic, I have the following notice and general error.

      [phpBB Debug] PHP Notice: in file [ROOT]/tools/support/orphaned_posts.php on line 192: Undefined variable: topic_ids

      General Error
      SQL ERROR [ mysql4 ]

      [0]

      SQL

      No values specified for SQL IN comparison

      BACKTRACE

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

      FILE: [ROOT]/includes/db/dbal.php
      LINE: 757
      CALL: trigger_error()

      FILE: [ROOT]/includes/db/dbal.php
      LINE: 432
      CALL: dbal->sql_error()

      FILE: [ROOT]/stk/tools/support/orphaned_posts.php
      LINE: 192
      CALL: dbal->sql_in_set()

      FILE: [ROOT]/stk/index.php
      LINE: 284
      CALL: orphaned_posts->run_tool()

      Regards.

            Noxwizard Patrick Webster
            Skouat Skouat
            Archiver:
            Noxwizard Patrick Webster

              Created:
              Updated:
              Resolved:
              Archived: