Extension talk:UserDailyContribs
Add topicAppearance
Latest comment: 12 years ago by S Page (WMF) in topic Update Error
| This page used the Structured Discussions extension to give structured discussions. It has since been converted to wikitext, so the content and history here are only an approximation of what was actually displayed at the time these comments were made. |
Update Error
[edit]Hi I am trying to upgrade using the update.php and I get this error:
Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'UserDailyContribsHooks' not found in /public_html/includes/Hooks.php on line 216
An error occured: Detected bug in an extension! Hook UserDailyContribsHooks::loadExtensionSchemaUpdates failed to return a value; should return true to continue hook processing or false to abort. Backtrace:
- 0 /public_html/includes/GlobalFunctions.php(3847): Hooks::run('LoadExtensionSc...', Array)
- 1 /public_html/includes/installer/DatabaseUpdater.php(69): wfRunHooks('LoadExtensionSc...', Array)
- 2 /public_html/includes/installer/DatabaseUpdater.php(120): DatabaseUpdater->__construct(Object(DatabaseMysql), false, NULL)
- 3 /public_html/includes/installer/DatabaseInstaller.php(256): DatabaseUpdater::newForDB(Object(DatabaseMysql))
- 4 /public_html/includes/installer/WebInstallerPage.php(525): DatabaseInstaller->doUpgrade()
- 5 /public_html/includes/installer/WebInstaller.php(254): WebInstaller_Upgrade->execute()
- 6 /public_html/mw-config/index.php(50): WebInstaller->execute(Array)
- 7 /public_html/mw-config/index.php(18): wfInstallerMain()
- 8 {main}
Any idea what I should do? Thanks! 123.243.244.195 10:09, 6 December 2012 (UTC)
- Works for me. Somehow UserDailyContribs.php is loading so maintenance knows it should run 'UserDailyContribsHooks::loadExtensionSchemaUpdates', but it can't find the class. Somehow the line
$wgAutoloadClasses['UserDailyContribsHooks'] = dirname( __FILE__ ) . '/UserDailyContribs.hooks.php';
- is failing. S Page (WMF) (talk) 22:15, 3 July 2013 (UTC)