Last modified: 2012-06-08 13:11:14 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 T37840, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 35840 - PHP 5.4 disables use of 'namespace' variable (1.7.1)
PHP 5.4 disables use of 'namespace' variable (1.7.1)
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All Linux
: Unprioritized blocker (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-04-09 22:10 UTC by admin
Modified: 2012-06-08 13:11 UTC (History)
6 users (show)

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


Attachments

Description admin 2012-04-09 22:10:17 UTC
When updated to the latest PHP version (5.4) and the latest Semantic MediaWiki version, the following error was found:

Given namespace '0' is not an integer.
Backtrace:
#0 /var/www/wiki/extensions/SemanticMediaWikiBad/includes/storage/SMW_SQLStore2_Queries.php(415): SMWDIWikiPage->__construct('Log_Example', '0', '', '')
#1 /var/www/wiki/extensions/SemanticMediaWikiBad/includes/storage/SMW_SQLStore2_Queries.php(284): SMWSQLStore2QueryEngine->getInstanceQueryResult(Object(SMWQuery), 2)
#2 /var/www/wiki/extensions/SemanticMediaWikiBad/includes/storage/SMW_SQLStore2.php(997): SMWSQLStore2QueryEngine->getQueryResult(Object(SMWQuery))
#3 /var/www/wiki/extensions/SemanticMediaWikiBad/specials/AskSpecial/SMW_SpecialAsk.php(384): SMWSQLStore2->getQueryResult(Object(SMWQuery))
#4 /var/www/wiki/extensions/SemanticMediaWikiBad/specials/AskSpecial/SMW_SpecialAsk.php(54): SMWAskPage->makeHTMLResult()
#5 /var/www/wiki/includes/SpecialPageFactory.php(458): SMWAskPage->execute(NULL)
#6 /var/www/wiki/includes/Wiki.php(240): SpecialPageFactory::executePath(Object(Title), Object(RequestContext))
#7 /var/www/wiki/includes/Wiki.php(640): MediaWiki->performRequest()
#8 /var/www/wiki/includes/Wiki.php(547): MediaWiki->main()
#9 /var/www/wiki/index.php(57): MediaWiki->run()
#10 {main}


---------

The reason is likely this:
http://www.php.net/manual/en/migration53.incompatible.php

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


Navigation
Links