By GokuMew2 on
Hi. First, I must excuse myself for I am very new to Drupal.
I just tried installing the Smarty Template Engine but now I get the following error whenever I try to administer my themes:
warning: call_user_func(smarty_templates) [function.call-user-func]: First argument is expected to be a valid callback in /home/.abdon/user/domain.com/themes/engines/theme_editor/theme_editor_engine.engine on line 38.
warning: Invalid argument supplied for foreach() in /home/.abdon/user/domain.com/themes/engines/theme_editor/theme_editor_engine.engine on line 38.I installed the Theme Editor module before installing the Smarty Template Engine. There were no errors until after I installed Smarty. How can I fix this? I checked http://drupal.org/node/97486 but I didn't really know how to use the patch. I replaced line 38 on theme_editor_engine.engine with the if statement that was in the patch, but that just broke things.
Any help would be appreciated, thanks!