Last modified: 2014-09-26 11:53:59 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 T73350, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 71350 - Fatal error: Call to a member function getOption() on a non-object (with beta features)
Fatal error: Call to a member function getOption() on a non-object (with beta...
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
WikidataClient (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Wikidata bugs
u=dev c=backend p=0
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-26 10:50 UTC by Aude
Modified: 2014-09-26 11:53 UTC (History)
2 users (show)

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


Attachments

Description Aude 2014-09-26 10:50:36 UTC
when running phpunit tests with BetaFeatures enabled, I get a fatal error:

Fatal error: Call to a member function getOption() on a non-object in /Library/WebServer/Documents/php-master/extensions/BetaFeatures/includes/BetaFeaturesUtil.php on line 43

Call Stack:
    0.0006     717344   1. {main}() /Library/WebServer/Documents/php-master/tests/phpunit/phpunit.php:0
    0.3829   21399792   2. PHPUnit_TextUI_Command::main() /Library/WebServer/Documents/php-master/tests/phpunit/phpunit.php:232
    0.3829   21400520   3. PHPUnit_TextUI_Command->run() /Library/WebServer/Documents/php-master/vendor/phpunit/phpunit/PHPUnit/TextUI/Command.php:129
    1.7722   71103152   4. PHPUnit_TextUI_TestRunner->doRun() /Library/WebServer/Documents/php-master/vendor/phpunit/phpunit/PHPUnit/TextUI/Command.php:176
    1.7746   71607184   5. PHPUnit_Framework_TestSuite->run() /Library/WebServer/Documents/php-master/vendor/phpunit/phpunit/PHPUnit/TextUI/TestRunner.php:350
    4.6459  109911168   6. PHPUnit_Framework_TestSuite->run() /Library/WebServer/Documents/php-master/vendor/phpunit/phpunit/PHPUnit/Framework/TestSuite.php:709
    4.7016  110910872   7. PHPUnit_Framework_TestSuite->runTest() /Library/WebServer/Documents/php-master/vendor/phpunit/phpunit/PHPUnit/Framework/TestSuite.php:749
    4.7016  110910872   8. MediaWikiTestCase->run() /Library/WebServer/Documents/php-master/vendor/phpunit/phpunit/PHPUnit/Framework/TestSuite.php:779
    4.7016  110912000   9. PHPUnit_Framework_TestCase->run() /Library/WebServer/Documents/php-master/tests/phpunit/MediaWikiTestCase.php:141
    4.7017  110912000  10. PHPUnit_Framework_TestResult->run() /Library/WebServer/Documents/php-master/vendor/phpunit/phpunit/PHPUnit/Framework/TestCase.php:783
    4.7017  110912992  11. PHPUnit_Framework_TestCase->runBare() /Library/WebServer/Documents/php-master/vendor/phpunit/phpunit/PHPUnit/Framework/TestResult.php:648
    4.7019  110954640  12. PHPUnit_Framework_TestCase->runTest() /Library/WebServer/Documents/php-master/vendor/phpunit/phpunit/PHPUnit/Framework/TestCase.php:838
    4.7019  110956120  13. ReflectionMethod->invokeArgs() /Library/WebServer/Documents/php-master/vendor/phpunit/phpunit/PHPUnit/Framework/TestCase.php:988
    4.7019  110956152  14. Wikibase\Client\Test\Hooks\SidebarHookHandlersTest->testDoSidebarBeforeOutput() /Library/WebServer/Documents/php-master/vendor/phpunit/phpunit/PHPUnit/Framework/TestCase.php:988
    4.7019  110956592  15. Wikibase\Client\Test\Hooks\SidebarHookHandlersTest->callDoSidebarBeforeOutput() /Library/WebServer/Documents/php-master/extensions/WikidataBuild/extensions/Wikibase/client/tests/phpunit/includes/hooks/SidebarHookHandlersTest.php:487
    4.7147  111825840  16. Wikibase\Client\Hooks\SidebarHookHandlers->doSidebarBeforeOutput() /Library/WebServer/Documents/php-master/extensions/WikidataBuild/extensions/Wikibase/client/tests/phpunit/includes/hooks/SidebarHookHandlersTest.php:481
    4.7153  111836768  17. BetaFeatures::isFeatureEnabled() /Library/WebServer/Documents/php-master/extensions/WikidataBuild/extensions/Wikibase/client/includes/hooks/SidebarHookHandlers.php:335

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


Navigation
Links