https://bugzilla.wikimedia.org/show_bug.cgi?id=47020
Alex Monk (Krenair) <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #7 from Alex Monk (Krenair) <[email protected]> --- (In reply to comment #6) > 2º: > > When the variable is like "$wgFlaggedRevsWhitelist = true;", the mediawiki > presents: > > "Warning: in_array() expects parameter 2 to be array, boolean given in > /var/www/mediawiki/extensions/FlaggedRevs/backend/FlaggedRevs.class.php on > line > 895" > > It's the function "inReviewNamespace" in the code: > > if ( in_array( $title->getPrefixedDBKey(), $wgFlaggedRevsWhitelist ) ) { > > ---------------------------------------------------------------- > > > 3º: > > When the variable is like "$wgFlaggedRevsExceptions = true;", the mediawiki > presents: > > "Warning: Invalid argument supplied for foreach() in > /var/www/mediawiki/extensions/FlaggedRevs/frontend/FlaggablePageView.php on > line 170" > > > It's the function "userViewsDraftByDefault" in the code: > > > foreach ( $wgFlaggedRevsExceptions as $group ) { Both of these variables are expected to be arrays, not 'true'. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
