Download & Extend

invalid callback in i18nblocks

Project:Internationalization
Version:6.x-1.0-beta1
Component:Code
Category:bug report
Priority:minor
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

I don't really know what is causing this, but when I go to edit my blocks I see this error:

# warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'i18nblocks_theme_blocks' was given in C:\Documents and Settings\Aaron Hawkins\My Documents\websites\WaitingForTheStorm\includes\theme.inc on line 591.

Comments

#1

Priority:normal» minor
Status:active» closed (fixed)

I just realized what caused this.

#2

Component:Module i18nblocks» Code

I hope Mr Aaron Hawkins will not mind if I supplement his insightful and elaborate description of how to fix the problem he encountered:

I fixed this behaviour when I finally realised that someone (me?) had deleted the complete and entire module folder. So after refilling it with latest versions of all the modules my site uses and running update.php I was good again.

#3

Had the same bug when I copied over a module (to upgrade) but forgot (and then was unable) to run update.php.

Running that fixed the bug.

(Why are modules so inconvenient to upgrade on a normal Drupal website?)