I'm a new to drupal. I hope someone can help me. My website ran good until I deleted all themes which were not enable to use. Here is the error message:
Fatal error: Call to undefined function art_navigation_links_worker() in /...mywebsite.../sites/all/themes/wilderness/block-navigation.tpl.php on line 2
It failed to open stream in includes/theme.inc line 155 (include_once './'. $theme->owner;):
// Initialize the theme.
if (isset($theme->engine)) {
// Include the engine.
include_once './'. $theme->owner;
$theme_engine = $theme->engine;
if (function_exists($theme_engine .'_init')) {
foreach ($base_theme as $base) {
call_user_func($theme_engine .'_init', $base);
}
call_user_func($theme_engine .'_init', $theme);
}
}
Even I put back all those deleted themes, the error still exsits. Which table in database has the themes' info?
Comments
Are you able to put the
Are you able to put the missing themes back?
I already put them back, but
I already put them back, but the error still exsits.
_
Try clearing the cache (admin/settings/performance).
The problem is that I can't
The problem is that I can't login now. Is it another way I can clear the cache? Here is the link to my website for school http://www.ovmsscioly.org/science_olympiad/
_
Use phpmyadmin or other db tool and empty (not delete) the cache* tables.
Thanks for the help! After I
Thanks for the help! After I cleared the cache, it enables me to login. Then I went to theme and found that the Wilderness theme is not enabled. It might be removed enabled after I deleted other themes. Always happy to learn!
Getting the same error
I am getting the same error 'Fatal error: Call to undefined function art_navigation_links_worker in themes\paradise\block-navigation.tpl.php on line 2'
I cleared the cache but still get the same error. I haven't deleted any themes but got this error trying to get my site to work with my host.
Any suggestions?
Did you clear the cache from
Did you clear the cache from database? Have you tried to restart your machine or clear your web brower cache? Can you login the admin page? If it is, check the theme and make sure enable the theme you want.
Is it ok to delete theme
Is it ok to delete theme files directly?
You probably should avoid
You probably should avoid deleting core themes as they'll get recreated next time you update Drupal anyway! But for contributed themes, you should have no trouble deleting them as long as they're not enabled and not set to default - and not selected as the administration theme.
Since I deleted the core
Since I deleted the core themes, I added them back from my other project.