Error on album delete: "BIGINT UNSIGNED value is out of range"

  • Thread starter Thread starter nocte
  • Start date Start date

nocte

Guest
Member
I saw this error in the error log. coming from a user who tried to delete his album:

Code:

Code:

Code:
XF\Db\Exception: MySQL query error [1690]: BIGINT UNSIGNED value is out of range in '(`db`.`xf_user`.`xfmg_media_count` - ?)'
src/XF/Db/AbstractStatement.php:230

stack trace shows this query:

Code:

Code:

Code:
                    UPDATE xf_user
                    SET xfmg_media_count = GREATEST(0, xfmg_media_count - ?)
                    WHERE user_id = ?

Might this be a bug in XFMG?

Continue...

Read more

Continue reading...
 
Top