Last modified: 2012-10-12 00:24:34 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T40442, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 38442 - Collection array_push() expects parameter 1 to be array, null given
Collection array_push() expects parameter 1 to be array, null given
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Collection (Other open bugs)
unspecified
All All
: Unprioritized minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-17 14:59 UTC by Sam Reed (reedy)
Modified: 2012-10-12 00:24 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Sam Reed (reedy) 2012-07-17 14:59:30 UTC
Warning:  array_push() expects parameter 1 to be array, null given in /usr/local/apache/common-local/php-1.20wmf7/extensions/Collection/Collection.body.php on line 529
Comment 1 Sam Reed (reedy) 2012-10-11 09:45:06 UTC
Warning:  array_push() expects parameter 1 to be array, null given in /usr/local/apache/common-local/php-1.21wmf1/extensions/Collection/Collection.body.php on line 551


	static function addChapter( $name ) {
		$collection = CollectionSession::getCollection();
		array_push( $collection['items'], array(
			'type' => 'chapter',
			'title' => $name,
		) );
		CollectionSession::setCollection( $collection );
	}
Comment 2 Sam Reed (reedy) 2012-10-12 00:24:34 UTC
https://gerrit.wikimedia.org/r/27653

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links