Needs work
Project:
Earth Birthday
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Jun 2009 at 07:38 UTC
Updated:
20 Nov 2010 at 20:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
vigilianty commentedDo u still have the error? I was working on it and your post when away.
Comment #2
Alexander Drupal commentedI had the same problem. This problem were occurred when I had renamed drupal theme after it was enabled. If you are renaming the drupal theme, be sure you rename also all themes functions(hooks) in drupal6_methods.php , in drupal5_methods.php, e.t.c.. such as:
- theme_breadcrumb($breadcrumb) [http://api.drupal.org/api/function/theme_breadcrumb/6]
- theme_links($links, $attributes = array('class' => 'links')) [http://api.drupal.org/api/function/theme_links/6]
- theme_menu_local_task($link, $active = FALSE) [http://api.drupal.org/api/function/theme_menu_local_task/6]
- e.t.c.
Hope it helps.
Comment #3
vigilianty commentedFor does who like play with codes remember to save an original and I can't help if you do, you are in your own. I'm too busy with others projects, please understand. You can use Expression in windows and TexMate in Mac. I'm using a combination of tools to build these themes (MS Expression, Photoshop, Dreamweaver, Artisteer, etc....) I'm currently working with different CMS (WordPress, Joomla, MODx(I like this one), etc....) Please understand, most of the error that I get from user is because they mess around with the codes. If you change the name of the theme, most like it you will have to change the name every time PHP or Js make reference of it.
Comment #4
vigilianty commentedComment #5
bzunnssukj commentedThis error occurs anytime the block settings are saved, even when they haven't been modified. Please see the attached image.
In terms of comment #3, this error is occurring even though no changes have been made to the code.
Comment #6
carlwenrich commentedPlease take me off this mailing list: carlwenrich@yahoo.com
Comment #7
peterx commentedSome of these errors occur when you first install a theme. Viewing the settings and saving the settings without changing anything may remove the because it may replace a missing value with a default value. Viewing the settings and not saving the settings may do nothing to remove the error or it might trigger code that creates a default value.
Comment #8
JayKayAu commentedI had the same problem when I made a duplicate of a client's theme, and renamed it (we're modifying their visual theme).
I then renamed all of the methods as per comment #2, but still had the issue.
Eventually, I realised that both the new and old themes were enabled in Admin > Themes, so I disabled the old one, and Bob's your uncle.
I still don't really have a good grasp of why this is, but my immediate problem is solved...
Edit: Btw, this is nothing to do with "Earth Birthday". I just found this thread through Google.
Comment #9
lockev3.0 commentedSteps to solve it : (Read CAUTION note before)
oldTheme_Name_whatevermust be renamed to
myThemeName_whateverCAUTION : Me I use a modification of theme Contrast (by AgileWare), and I used to have my Primary Links menu showing on the navigation region as the main menu so that, whenever an option selected, if it had suboptions these showed in a second level.
Well quite weird great drupal's mechanism have made my second level options to not show at all after fixing the warning trouble. HELL !!! (sorry, i am a bit furious now), instead of my suboptions just a silly link 'Home' is fooooooreeeeever showing.
Comment #10
lockev3.0 commentedComment #11
lockev3.0 commentedSoooo, no one keeps having this issue ... it seems. Just me :(
All i have been able to see is that the breadcrumb (not sure what breadcrumb it is exactly yet) involved in the wrong call to implode function have to do with my primary links - submenus. As my previous post says, as long as this submenu does not appear, the problem doesn't either. .... which leaves me still with a problem naturally. .... I do not have any special character at such submenus neither nothing which apparently could cause a string replacement error ..... :|
Comment #12
drupal_noob001 commentedI solved this problem by changing:
print theme('breadcumb', $breadcrumb);to:
print $breadcrumb;in my page.tpl.phpI hope that helps.
Comment #13
delta62 commentedI'm getting this warning on a consistent basis. It seems that by overriding the theme_breadcrumb function as I did below, PHP stops complaining:
For some reason, unless you cast
$breadcrumbto an array explicitly, it is not recognized as such.Comment #14
amrendra commentedhi