Support » Theme: Responsive » Cant Upload Mp3 via Add media, gives error

  • Hi everyone ! ,
    I am having a trouble uploading music mp3 files,
    the upload goes fine and it shows in my files
    but when i try to view the file it gives this error

    Catchable fatal error: Object of class WP_Error could not be converted to string in /home/user/public_html/wp-content/themes/responsive/includes/functions.php on line 463

    this is what i have in functions.php

    (460) $parent = get_post($post->post_parent);
    (461) $cat = get_the_category($parent->ID); $cat = $cat[0];

    (463) echo get_category_parents($cat, TRUE, ‘ ‘ . $chevron . ‘ ‘);
    echo ‘‘ . $parent->post_title . ‘ ‘ . $chevron . ‘ ‘;
    echo $before . get_the_title() . $after;

    please help if you can 🙂

Viewing 1 replies (of 1 total)
  • use follow fix in you functions.php if you don’t neet the breadcrump

    if (!function_exists(‘responsive_breadcrumb_lists’)) :
    function responsive_breadcrumb_lists() {}
    endif;

Viewing 1 replies (of 1 total)
  • The topic ‘Cant Upload Mp3 via Add media, gives error’ is closed to new replies.