Sharing is helping.

We offer you this space to share your knowledge about Magento and learn from our experienced customers.


    Home Forums Theme Forum HelloCoco & HelloCoco iPhone HelloCoCo WordPress Menu setup error

    This topic contains 1 reply, has 2 voices, and was last updated by  Anonymous 5 years, 3 months ago.

    Viewing 2 posts - 1 through 2 (of 2 total)
    • Author
      Posts
    • #16027

      Anonymous

      Hi,

      I get the following error when I arrive on the destination page after I click on the Primary menu link:

      Catchable fatal error: Object of class WP_Error could not be converted to string in /home/xxxxxxx/public_html/xxxxxxx.com/blog/wp-content/themes/v1.1/functions.php on line 80.

      here is the section of functions.php:

      function the_breadcrumbs(){
      if (is_front_page()){
      echo ‘Home’;
      }
      else if (is_category()){
      echo ‘Home » ‘;
      $category=explode(‘/’,$_SERVER["REQUEST_URI"]);
      $category=array_slice(array_reverse($category),0,1);
      $category=get_category_by_slug($category[0]);
      $categories=get_category_parents($category->term_id,false,’,');
      $categories=explode(‘,’,$categories,-2);
      foreach ($categories as $categories_item){
      $categories_item=get_category_by_slug($categories_item);
      echo ‘slug.’” title=”‘.$categories_item->name.’”>’.$categories_item->name.’ » ‘;
      }
      echo $category->name;
      }

      Both menus I have setup work in TwentyTen and are called:

      Primary menu = primary-menu
      Footer menu = footer-menu

      I have no plugins activated.

      Also none of the links in the footer (which are all external links) work at all – could be CSS issue?

      link to blog: http://yanagiart.com/blog/

      thanks

      #16028

      Anonymous

      Hi, i don\’t see this is happening in our demo (same files you downloaded), have you customized something on the theme? anything?. Which wordpress version do you have?.

      Take a look at our wordpress documentation: Note: For footer menu to be detected, Menu Name must be “Footer menu”.

      http://www.hellothemes.com/documentation-wp/hellococo-wordpress/

      About the footer links, take a look on how the footer is made: http://img1.uploadscreenshot.com/images/orig/7/19410095439-orig.png

    Viewing 2 posts - 1 through 2 (of 2 total)
    Reply To: HelloCoCo WordPress Menu setup error
    Your information:





    <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">