Getting Error in WP

Discussion in 'PHP' started by Kawish, Feb 22, 2012.

  1. #1
    One of my friend getting the following error in Wordpress blog at trendztime.com:

    Warning: implode() [function.implode]: Invalid arguments passed in /home/urcric/public_html/trendztime.com/wp-content/themes/ZPRESS/functions/wpzoom-widgets.php on line 1450

    Following text in Red is line 1450:

    if ($type == 'tag')
    {
    $postsq = $slugs;
    }
    elseif ($type == 'cat')
    {
    $postsq = implode(",",$category);
    }


    /* Before widget (defined by themes). */
    //echo $before_widget;
    ?>


    Here is a screen shot of error:

    Trendztime error.JPG
     
    Kawish, Feb 22, 2012 IP
  2. Kanonig

    Kanonig Well-Known Member

    Messages:
    343
    Likes Received:
    11
    Best Answers:
    2
    Trophy Points:
    120
    #2
    I think there is a problem with the theme. Have you tried changing it?
     
    Kanonig, Feb 22, 2012 IP
  3. cuteangeleye

    cuteangeleye Peon

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I think there is a problem with the theme. If you want to skip this error just add the @ sign before the implode function. e.g:

    {
    $postsq = @implode(",",$category);
    }
     
    cuteangeleye, Feb 22, 2012 IP