Extension talk:BucketVoting
Latest comment: 11 years ago by Awjrichards in topic Running update.php fails on MW 1.22
I'm getting the following error trying to install the extension:
Warning: call_user_func_array(): First argument is expected to be a valid callback, 'wfBuckVoting_DatabaseSetup' was given in /var/www/htdocs/opencms-wiki/includes/Hooks.php on line 133 Detected bug in an extension! Hook wfBuckVoting_DatabaseSetup failed to return a value; should return true to continue hook processing or false to abort. Backtrace:
- 0 /var/www/htdocs/opencms-wiki/maintenance/updaters.inc(1111): wfRunHooks('LoadExtensionSc...')
- 1 /var/www/htdocs/opencms-wiki/maintenance/update.php(44): do_all_updates(false, true)
- 2 {main}
Any ideas?
Running update.php fails on MW 1.22
editHeya, I installed BucketVoting extension and ran the update.php script but got the following error:
Invalid callback in hooks for LoadExtensionSchemaUpdates
Backtrace: #0 /vagrant/mediawiki/includes/GlobalFunctions.php(3885): Hooks::run('LoadExtensionSchemaUpdates', Array) #1 /vagrant/mediawiki/includes/installer/DatabaseUpdater.php(111): wfRunHooks('LoadExtensionSchemaUpdates', Array) #2 /vagrant/mediawiki/includes/installer/DatabaseUpdater.php(163): DatabaseUpdater->__construct(Object(DatabaseMysqli), false, Object(UpdateMediaWiki)) #3 /vagrant/mediawiki/maintenance/update.php(145): DatabaseUpdater::newForDB(Object(DatabaseMysqli), false, Object(UpdateMediaWiki)) #4 /vagrant/mediawiki/maintenance/doMaintenance.php(113): UpdateMediaWiki->execute() #5 /vagrant/mediawiki/maintenance/update.php(187): require_once('/vagrant/mediawiki/maintenance/doMaintenance.php') #6 {main}
Any thoughts?
Drdee (talk) 20:30, 17 October 2013 (UTC)
- It appears that the method defined in the LoadExtensionSchemaUpdates hook is 'wfBuckVoting_DatabaseSetup' but there is not funciton by that name - it looks like it was probably a typo and ought to be 'wfBucketVoting_DatabaseSetup' Arthur Richards (talk) 00:17, 18 October 2013 (UTC)