https://bugzilla.wikimedia.org/show_bug.cgi?id=63291
Bug ID: 63291 Summary: Fatal error: Call to a member function getOption() on a non-object in BetaFeaturesHooks.php on line 121 Product: MediaWiki extensions Version: master Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: BetaFeatures Assignee: wikibugs-l@lists.wikimedia.org Reporter: aude.w...@gmail.com CC: fflo...@wikimedia.org, jforres...@wikimedia.org, legoktm.wikipe...@gmail.com, mtrac...@member.fsf.org Web browser: --- Mobile Platform: --- this occurs when running phpunit tests, during UserTest::testEditCount(). Fatal error: Call to a member function getOption() on a non-object in /Library/WebServer/Documents/php-master/extensions/BetaFeatures/BetaFeaturesHooks.php on line 121 Call Stack: 0.0004 672040 1. {main}() /Library/WebServer/Documents/php-master/tests/phpunit/phpunit.php:0 0.0725 18073256 2. MediaWikiPHPUnitCommand::main() /Library/WebServer/Documents/php-master/tests/phpunit/phpunit.php:116 0.0725 18085944 3. MediaWikiPHPUnitCommand->run() /Library/WebServer/Documents/php-master/tests/phpunit/MediaWikiPHPUnitCommand.php:64 0.0725 18085992 4. PHPUnit_TextUI_Command->run() /Library/WebServer/Documents/php-master/tests/phpunit/MediaWikiPHPUnitCommand.php:80 0.0947 21964992 5. PHPUnit_TextUI_TestRunner->doRun() /opt/local/lib/php/pear/PHPUnit/TextUI/Command.php:176 0.0974 22466400 6. PHPUnit_Framework_TestSuite->run() /opt/local/lib/php/pear/PHPUnit/TextUI/TestRunner.php:349 0.8966 34379712 7. PHPUnit_Framework_TestSuite->runTest() /opt/local/lib/php/pear/PHPUnit/Framework/TestSuite.php:745 0.8966 34379712 8. MediaWikiTestCase->run() /opt/local/lib/php/pear/PHPUnit/Framework/TestSuite.php:775 0.8982 34379896 9. PHPUnit_Framework_TestCase->run() /Library/WebServer/Documents/php-master/tests/phpunit/MediaWikiTestCase.php:134 0.8982 34379896 10. PHPUnit_Framework_TestResult->run() /opt/local/lib/php/pear/PHPUnit/Framework/TestCase.php:783 0.8983 34380888 11. PHPUnit_Framework_TestCase->runBare() /opt/local/lib/php/pear/PHPUnit/Framework/TestResult.php:648 0.8988 34433296 12. PHPUnit_Framework_TestCase->runTest() /opt/local/lib/php/pear/PHPUnit/Framework/TestCase.php:838 0.8988 34434680 13. ReflectionMethod->invokeArgs() /opt/local/lib/php/pear/PHPUnit/Framework/TestCase.php:983 0.8988 34434712 14. UserTest->testEditCount() /opt/local/lib/php/pear/PHPUnit/Framework/TestCase.php:983 0.8991 34445632 15. User->addToDatabase() /Library/WebServer/Documents/php-master/tests/phpunit/includes/UserTest.php:190 0.9010 34445472 16. User->saveOptions() /Library/WebServer/Documents/php-master/includes/User.php:3614 0.9017 34466648 17. wfRunHooks() /Library/WebServer/Documents/php-master/includes/User.php:4759 0.9017 34466696 18. Hooks::run() /Library/WebServer/Documents/php-master/includes/GlobalFunctions.php:4000 0.9017 34467672 19. call_user_func_array:{/Library/WebServer/Documents/php-master/includes/Hooks.php:206}() /Library/WebServer/Documents/php-master/includes/Hooks.php:206 0.9017 34468096 20. BetaFeaturesHooks::updateUserCounts() /Library/WebServer/Documents/php-master/includes/Hooks.php:206 -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l