Last modified: 2011-07-28 21:30:51 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 T32107, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 30107 - [PageObjectModel] Error "Access type for interface method POMParser::Parse() must be omitted in [...]/Parser.php on line 13"
[PageObjectModel] Error "Access type for interface method POMParser::Parse() ...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Other (Other open bugs)
unspecified
All Linux
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-07-28 21:22 UTC by Samuel Lampa
Modified: 2011-07-28 21:30 UTC (History)
2 users (show)

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


Attachments

Description Samuel Lampa 2011-07-28 21:22:26 UTC
When using the trunk version (r93427) of PageObjectModel with MediaWiki 1.19alpha (r93431) I get the following message:

Fatal error: Access type for interface method POMParser::Parse() must be omitted in /home/samuel/www/smw-trunk/extensions/PageObjectModel/POM/Parser.php on line 13
Call Stack
#	Time	Memory	Function	Location
1	0.0003	371272	{main}( )	../index.php:0
2	0.0011	400204	require( '/home/samuel/www/smw-trunk/includes/WebStart.php' )	../index.php:53
3	0.0272	1453440	require_once( '/home/samuel/www/smw-trunk/LocalSettings.php' )	../WebStart.php:134
4	0.0367	2008800	include_once( '/home/samuel/www/smw-trunk/extensions/PageObjectModel/PageObjectModel.php' )	../LocalSettings.php:145
5	0.0368	2018776	require_once( '/home/samuel/www/smw-trunk/extensions/PageObjectModel/POM.php' )	../PageObjectModel.php:9

The error message dissappears if I change, on line 13 in /home/samuel/www/smw-trunk/extensions/PageObjectModel/POM/Parser.php, from:

	static abstract function Parse( POMPage $page );

... to:

	static function Parse( POMPage $page );
Comment 1 Sam Reed (reedy) 2011-07-28 21:27:16 UTC
Cheers, r93432

r92074 will have broken it accidentally
Comment 2 Samuel Lampa 2011-07-28 21:30:51 UTC
Thanks, that was quick! :)

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


Navigation
Links