Warning: array_search() expects parameter 2 to be array, null given in /extensions/MobileFrontend/includes/MobileFrontend.hooks.php on line 633 Call Stack: 1. {main}() /core/tests/phpunit/phpunit.php:0 2. MediaWikiPHPUnitCommand::main() /core/tests/phpunit/phpunit.php:160 3. PHPUnit_TextUI_Command->run() /core/tests/phpunit/MediaWikiPHPUnitCommand.php:42 4. PHPUnit_TextUI_TestRunner->doRun() /opt/local/share/pear/PHPUnit/TextUI/Command.php:176 5. PHPUnit_Framework_TestSuite->run() /opt/local/share/pear/PHPUnit/TextUI/TestRunner.php:349 6. PHPUnit_Framework_TestSuite->run() /opt/local/share/pear/PHPUnit/Framework/TestSuite.php:705 7. PHPUnit_Framework_TestSuite->run() /opt/local/share/pear/PHPUnit/Framework/TestSuite.php:705 8. PHPUnit_Framework_TestSuite->runTest() /opt/local/share/pear/PHPUnit/Framework/TestSuite.php:745 9. MediaWikiTestCase->run() /opt/local/share/pear/PHPUnit/Framework/TestSuite.php:775 10. PHPUnit_Framework_TestCase->run() /core/tests/phpunit/MediaWikiTestCase.php:133 11. PHPUnit_Framework_TestResult->run() /opt/local/share/pear/PHPUnit/Framework/TestCase.php:783 12. PHPUnit_Framework_TestCase->runBare() /opt/local/share/pear/PHPUnit/Framework/TestResult.php:648 13. PHPUnit_Framework_TestCase->runTest() /opt/local/share/pear/PHPUnit/Framework/TestCase.php:838 14. ReflectionMethod->invokeArgs() /opt/local/share/pear/PHPUnit/Framework/TestCase.php:983 15. AutoEnrollmentTest->testAutoEnroll() /opt/local/share/pear/PHPUnit/Framework/TestCase.php:983 16. wfRunHooks() /extensions/BetaFeatures/tests/AutoEnrollmentTest.php:146 17. Hooks::run() /core/includes/GlobalFunctions.php:4056 18. call_user_func_array:{/core/includes/Hooks.php:206}() /core/includes/Hooks.php:206 19. MobileFrontendHooks::onGetPreferences() /core/includes/Hooks.php:206 20. array_search() /extensions/MobileFrontend/includes/MobileFrontend.hooks.php:633