Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-12818

Deleting a log entry in MCP produces a General error

XMLWordPrintable

      phpBB Debug] PHP Notice: in file [ROOT]/phpbb/log/log.php on line 401: Array to string conversion

      SQL ERROR [ mysqli ]

      Unknown column 'Array' in 'where clause' [1054]

      SQL

      DELETE FROM phpbb_log WHERE log_type = 1 AND forum_id = Array AND log_id = 634

      BACKTRACE

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

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

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

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

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

      FILE: [ROOT]/includes/mcp/mcp_logs.php
      LINE: 122
      CALL: phpbb\log\log->delete()

      FILE: [ROOT]/includes/functions_module.php
      LINE: 666
      CALL: mcp_logs->main()

      FILE: [ROOT]/mcp.php
      LINE: 288
      CALL: p_master->load_active()

      This happens on either Delete all or Delete marked.

            nicofuma nicofuma
            aleha aleha [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: