Serious BUG! Site's CSS broken after last update to 15.0.0.b1

CSS broken with the latest auto UNA Update!

  • Artificer
  • Protean
  • Lucid

@LeonidS @Andrey Yasko @Alex T⚜️ @UNA Inc

For BxPostsDb.php (Line 26): Change: public function getContentInfoById($iId) To: public function getContentInfoById($iContentId, $bForceGet = false)

Why the change is necessary

Even if the site is loading now, any process that calls a function within the Posts module will still trigger that Fatal error found in your logs. In PHP, a child class (the Posts module) must have a signature that matches its parent class (the UNA Core).

Since the UNA 15 core updated the "parent" version of getContentInfoById to accept $bForceGet, your module's version must now accept it too, or the script will crash every time a post is viewed or indexed.

  • 107
  • More
Replies (2)
    • It was the Modzzz Bands App that crashed the site's CSS

      @Jerome Mingo

      For MzBandsTemplate.php (Line 110): Change: public function getAttachLinkItem($iUserId, $mixedLink) To: public function getAttachLinkItem($iUserId, $mixedLink, $aParams = [])

      • All UNA modules are updated accordingly, please make sure that all modules are updated to the latest versions.

        However 3rd-party modules would probably need an update or manual fix.

        Login or Join to comment.