Article image won't load - fatal error

This page is an archive and was used for testing purposes. Please visit us at to learn more.

  • After upgrading from 3.1 to 5.2.0 RC1 some article images don't display (just a white image), teaser image is ok. When I right click the image and choose "View image" I get an fatal error. It seems to be only old articles, or articles with old attachments as article image. If I edit the article, the preview of article image is working.

    This is the message I get.

    System Information

    • PHP Version:


    • WoltLab Suite Core:

      5.2.0 RC 1

    • Peak Memory Usage:

      2.444/512 MiB

    • Request URI:


    • Referrer:

    • User Agent:

      Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:71.0) Gecko/20100101 Firefox/71.0

    Original Error

    • Error Type:


    • Error Message:

      SQLSTATE[42S22]: Column not found: 1054 Unknown column 'lastDownloadTime' in 'field list'

    • Error Code:


    • File:

      */lib/system/database/Database.class.php (271)

    Final Error

    • Error Type:


    • Error Message:

      Could not prepare statement 'UPDATE wcf1_media SET downloads = ?, lastDownloadTime = ? WHERE mediaID = ?'

    • Error Code:


    • File:

      */lib/system/database/Database.class.php (276)