Extension talk:UserDailyContribs

Jump to navigation Jump to search

About this board

123.243.244.195 (talkcontribs)

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:

  1. 0 /public_html/includes/GlobalFunctions.php(3847): Hooks::run('LoadExtensionSc...', Array)
  2. 1 /public_html/includes/installer/DatabaseUpdater.php(69): wfRunHooks('LoadExtensionSc...', Array)
  3. 2 /public_html/includes/installer/DatabaseUpdater.php(120): DatabaseUpdater->__construct(Object(DatabaseMysql), false, NULL)
  4. 3 /public_html/includes/installer/DatabaseInstaller.php(256): DatabaseUpdater::newForDB(Object(DatabaseMysql))
  5. 4 /public_html/includes/installer/WebInstallerPage.php(525): DatabaseInstaller->doUpgrade()
  6. 5 /public_html/includes/installer/WebInstaller.php(254): WebInstaller_Upgrade->execute()
  7. 6 /public_html/mw-config/index.php(50): WebInstaller->execute(Array)
  8. 7 /public_html/mw-config/index.php(18): wfInstallerMain()
  9. 8 {main}

Any idea what I should do? Thanks!

SPage (WMF) (talkcontribs)

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.

This post was posted by SPage (WMF), but signed as S Page (WMF).

Reply to "Update Error"
There are no older topics