Jump to content

Fatal Error upgrading to latest board version


Go to solution Solved by DawPi,

Recommended Posts

Hello everyone. 

Trying to upgrade to latest version and I have this error. Been a while since I asked for technical support and I see email support has been turned off! So I resort to here hoping someone can help recover my community:

 

It happens after this step:

Could contain: Page, Text, File

 

 

I then get this.

 

Fatal error: Declaration of IPS\musicbox\_Song::getItemsWithPermission($where = [], $order = null, $limit = 10, $permissionKey = 'read', $includeHiddenItems = null, $queryFlags = 0, ?IPS\Member $member = null, $joinContainer = false, $joinComments = false, $joinReviews = false, $countOnly = false, $joins = null, $skipPermission = false, $joinTags = true, $joinAuthor = true, $joinLastCommenter = true, $showMovedLinks = false) must be compatible with IPS\Content\_Item::getItemsWithPermission($where = [], $order = null, $limit = 10, $permissionKey = 'read', $includeHiddenItems = IPS\Content\Hideable::FILTER_AUTOMATIC, $queryFlags = 0, ?IPS\Member $member = null, $joinContainer = false, $joinComments = false, $joinReviews = false, $countOnly = false, $joins = null, $skipPermission = false, $joinTags = true, $joinAuthor = true, $joinLastCommenter = true, $showMovedLinks = false, $location = null) in /home/judgeju/public_html/archives/board/applications/musicbox/sources/Song/Song.php on line 355

 

Any help appreciated! Thank you all for those that got this far.

 

 

Link to comment
Share on other sites

  • Solution
1 hour ago, Neuro said:

 /home/judgeju/public_html/archives/board/applications/musicbox/sources/Song/Song.php 

If you have access to FTP open that file and find:

getItemsWithPermission($where = [], $order = null, $limit = 10, $permissionKey = 'read', $includeHiddenItems = null, $queryFlags = 0, ?IPS\Member $member = null, $joinContainer = false, $joinComments = false, $joinReviews = false, $countOnly = false, $joins = null, $skipPermission = false, $joinTags = true, $joinAuthor = true, $joinLastCommenter = true, $showMovedLinks = false)

Change to:

getItemsWithPermission($where = [], $order = null, $limit = 10, $permissionKey = 'read', $includeHiddenItems = IPS\Content\Hideable::FILTER_AUTOMATIC, $queryFlags = 0, ?IPS\Member $member = null, $joinContainer = false, $joinComments = false, $joinReviews = false, $countOnly = false, $joins = null, $skipPermission = false, $joinTags = true, $joinAuthor = true, $joinLastCommenter = true, $showMovedLinks = false, $location = null)

Save and try again.

Link to comment
Share on other sites

Hi @Neuro,

Hoping the above has resolved your issue.

On 11/6/2022 at 8:10 PM, Neuro said:

Been a while since I asked for technical support and I see email support has been turned off! So I resort to here hoping someone can help recover my community:

This is your go to place for all support for Invision Community. We are focused on improving our support so having this sort of crowd support set up allows the community to chime in to help you as well.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...