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

Notification related sql general error on submission of editing post

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 3.2.0-a1
    • 3.2.0-dev
    • None
    • None

      When editing something within the quote of https://area51.phpbb.com/phpBB/viewtopic.php?f=7&p=282491#p282491 it throws a general error as follows:

      SQL ERROR [ mysqli ]
       
      Unknown column 'Array' in 'where clause' [1054]
       
      SQL
       
      DELETE FROM phpbb_notifications WHERE notification_type_id = 5 AND item_id = 282491 AND user_id = Array
       
      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/mysqli.php
      LINE: 193
      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/notification/method/board.php
      LINE: 367
      CALL: phpbb\db\driver\factory->sql_query()
       
      FILE: [ROOT]/phpbb/notification/manager.php
      LINE: 447
      CALL: phpbb\notification\method\board->delete_notifications()
       
      FILE: [ROOT]/phpbb/notification/type/quote.php
      LINE: 135
      CALL: phpbb\notification\manager->delete_notifications()
       
      FILE: [ROOT]/phpbb/notification/method/board.php
      LINE: 290
      CALL: phpbb\notification\type\quote->update_notifications()
       
      FILE: [ROOT]/phpbb/notification/manager.php
      LINE: 419
      CALL: phpbb\notification\method\board->update_notification()
       
      FILE: [ROOT]/phpbb/notification/manager.php
      LINE: 400
      CALL: phpbb\notification\manager->update_notification()
       
      FILE: [ROOT]/phpbb/notification/manager.php
      LINE: 394
      CALL: phpbb\notification\manager->update_notifications()
       
      FILE: [ROOT]/includes/functions_posting.php
      LINE: 2350
      CALL: phpbb\notification\manager->update_notifications()
       
      FILE: [ROOT]/posting.php
      LINE: 1414
      CALL: submit_post()
      

      and there is a debug error too:
      [phpBB Debug] PHP Warning: in file [ROOT]/phpbb/notification/manager.php on line 359: Invalid argument supplied for foreach()

            Marc Marc
            MichaelC Michael Cullum
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: