Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I upgraded Tao from 1.0 to 3.2 (to support Rubik as an admin theme) and after clearing the cache several times, I'm still get this error on every page:
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'tao_form_element' was given in theme() (line 656 of [root]/includes/theme.inc).
Effect is all checkboxes have disappeared from the backend.
There doesn't seem to be a tao_form_element
... anyone else getting this?
Comments
Comment #1
yhahn CreditAttribution: yhahn commentedIt's been replaced by a preprocess + template combo, as declared in hook_theme of tao...
Make sure you don't have any stale code around and clear the theme cache hard using a
drush cc all
?Comment #2
thebuckst0p CreditAttribution: thebuckst0p commentedI was clearing the cache with
drush cc all
, didn't seem to catch... is there a "harder" way to do it? I don't have any custom code using that function.Comment #3
yhahn CreditAttribution: yhahn commentedHm, you could hit the database directly e.g.