bosss Posted October 4, 2022 Posted October 4, 2022 [04-Oct-2022 12:42:51 UTC] PHP Fatal error: Declaration of IPS\chatbox\Rooms\_Chat::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) 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/oldlndse/public_html/applications/chatbox/sources/Rooms/Chat.php on line 131 Many times - no possible to uninstall some apps = when try uninstall = blank page
Jim M Posted October 4, 2022 Posted October 4, 2022 Please contact the author for assistance as it is not compatible with PHP 8. If they are still around, they will need to help you resolve it.
Adriano Faria Posted October 4, 2022 Posted October 4, 2022 It's missing the $location = null in the method signature, same I sent you today earlier. Add it there and you're ok. bosss, Richard Arch and SeNioR- 1 2
bosss Posted October 4, 2022 Author Posted October 4, 2022 2 minutes ago, Adriano Faria said: It's missing the $location = null in the method signature, same I sent you today earlier. Add it there and you're ok. where put ?
Adriano Faria Posted October 4, 2022 Posted October 4, 2022 You have to ask to the other dev which file to edit. I don't know. It's just add the new parameter, as you did with my app, it will work. SeNioR- 1
bosss Posted October 4, 2022 Author Posted October 4, 2022 3 minutes ago, Adriano Faria said: You have to ask to the other dev which file to edit. I don't know. It's just add the new parameter, as you did with my app, it will work. he do not tell me what file i must edit i can not uninstall any apps and your file works now - no errors SeNioR- 1
Adriano Faria Posted October 4, 2022 Posted October 4, 2022 2 minutes ago, bosss said: he do not tell me what file i must edit Seeing your error: Declaration of IPS\chatbox\Rooms\_Chat::getItemsWithPermission the applications / chatbox / sources / Rooms / Chat and do what I told you to do in my app. * not sure about the bold part as I don't have the app. And the advice is always valid: is you have 3rd-party resource, you CAN'T update your board unless new versions are available. SeNioR- 1
bosss Posted October 4, 2022 Author Posted October 4, 2022 15 minutes ago, Jim M said: Please contact the author for assistance as it is not compatible with PHP 8. If they are still around, they will need to help you resolve it. All apps is fixed but no one apps can not uninstall - it must be problem with bela 2 - ips 4.7.3 1 minute ago, Adriano Faria said: Seeing your error: Declaration of IPS\chatbox\Rooms\_Chat::getItemsWithPermission the applications / chatbox / sources / Rooms / Chat and do what I told you to do in my app. * not sure about the bold part as I don't have the app. And the advice is always valid: is you have 3rd-party resource, you CAN'T update your board unless new versions are available. Coder fix problem - get new file - but i can not uninstall any apps [04-Oct-2022 12:42:51 UTC] PHP Fatal error: Declaration of IPS\chatbox\Rooms\_Chat::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) 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/oldlndse/public_html/applications/chatbox/sources/Rooms/Chat.php on line 131 SeNioR- 1
Adriano Faria Posted October 4, 2022 Posted October 4, 2022 4 minutes ago, bosss said: Coder fix problem The error shows the opposite.
bosss Posted October 4, 2022 Author Posted October 4, 2022 1 minute ago, Adriano Faria said: The error shows the opposite. What must do ?
Adriano Faria Posted October 4, 2022 Posted October 4, 2022 (edited) ... Edited October 4, 2022 by Adriano Faria SeNioR- 1
Marc Posted October 4, 2022 Posted October 4, 2022 If you are still seeing the issue there, then the application author has not resolved the issue for you there. You would need to contact them and let them know the issue you are having
Richard Arch Posted October 4, 2022 Posted October 4, 2022 2 hours ago, Adriano Faria said: It's missing the $location = null in the method signature, same I sent you today earlier. Add it there and you're ok. Thanks for the pointer 👍 Adriano Faria 1
bosss Posted October 4, 2022 Author Posted October 4, 2022 5 hours ago, Adriano Faria said: ... Now is ok - thanks!
Recommended Posts