Jump to content

Topic on Extension talk:IssueTracker2

71.31.61.159 (talkcontribs)

Getting the following error message:

Too few arguments to function SpecialListUsers::__construct(), 0 passed in /var/www/html/mediawiki-1.36.1/extensions/IssueTracker2/Actions/IssueTrackerActionAdd.php on line 121 and exactly 3 expected

Line 121 is: $specialListUsers = new SpecialListUsers();

Code is:

/** @see SpecialListusers **/

                require_once( $IP."/includes/specials/SpecialListUsers.php") ;

                $specialListUsers = new SpecialListUsers();

                $users = new UsersPager($specialListUsers->getContext());

                if (! $users->mQueryDone) {

                  $users->doQuery();

                }

                $users->mResult->rewind();

Reply to "List Users error"