WordPress.org

Forums

Responsive
Cant Upload Mp3 via Add media, gives error (2 posts)

  1. zzz818
    Member
    Posted 2 years ago #

    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 :)

  2. goeko
    Member
    Posted 2 years ago #

    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;

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.