Neuro Posted November 6, 2022 Share Posted November 6, 2022 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: 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 More sharing options...
Daniel F Posted November 6, 2022 Share Posted November 6, 2022 That’s an issue with the music box app. you’ll need to get the new files or get the author to resolve this to proceed with the upgrade Link to comment Share on other sites More sharing options...
Solution DawPi Posted November 6, 2022 Solution Share Posted November 6, 2022 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 More sharing options...
Gary Posted November 8, 2022 Share Posted November 8, 2022 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 More sharing options...
Recommended Posts