shadowbringer Posted Wednesday at 12:59 PM Report Share Posted Wednesday at 12:59 PM https://invisioncommunity.com/files/file/9160-tournaments/ Any of you guys have this plugin ? Quote Link to comment Share on other sites More sharing options...
SlawkA Posted Wednesday at 01:23 PM Report Share Posted Wednesday at 01:23 PM 23 минуты назад, shadowbringer сказал: Any of you guys have this plugin ? only: Tournaments 1.1.1 Tournaments 1.1.1.tar Quote Link to comment Share on other sites More sharing options...
shadowbringer Posted Wednesday at 01:34 PM Author Report Share Posted Wednesday at 01:34 PM shadowbringer it crashes my website (i am using 4.7.7) Quote Link to comment Share on other sites More sharing options...
shadowbringer Posted Wednesday at 01:46 PM Author Report Share Posted Wednesday at 01:46 PM public static function getItemsWithPermission( $where=array(), $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 ) { $member = $member ?: \IPS\Member::loggedIn(); if ( !$member->isAdmin() ) { $joinContainer = TRUE; } return parent::getItemsWithPermission( $where, $order, $limit, $permissionKey, $includeHiddenItems, $queryFlags, $member, $joinContainer, $joinComments, $joinReviews, $countOnly, $joins, $skipPermission, $joinTags, $joinAuthor, $joinLastCommenter, $showMovedLinks ); } this function is the problem i think it should be converted to php 8.0+ this function is present in 2 files sources\Tournaments\Tournaments.php and sources\Teams\Teams.php Quote Link to comment Share on other sites More sharing options...
Respected Posted Wednesday at 01:47 PM Report Share Posted Wednesday at 01:47 PM After $showMovedLinks=FALSE add: , $location=NULL Quote Link to comment Share on other sites More sharing options...
shadowbringer Posted Wednesday at 01:52 PM Author Report Share Posted Wednesday at 01:52 PM worked thank you very much Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.