Wordpress problem....

Discussion in 'WordPress' started by rockymountainexperience, Nov 20, 2007.

  1. #1
    Please help. What does this mean?

    "Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/colorai7/public_html/wp-includes/widgets.php on line 53"

    Does this mean my theme can not handle widgets? Please let me know. Thank you.
     
    rockymountainexperience, Nov 20, 2007 IP
  2. newzone

    newzone Well-Known Member

    Messages:
    2,865
    Likes Received:
    52
    Best Answers:
    0
    Trophy Points:
    135
    Digital Goods:
    1
    #2
    what theme do you use and what wordpress version ? you must check first if the theme work with your wordpress version , try default theme if works, the theme is the problem if not ... i don't know now, tell us when you have this error ? (i'm new to wordpress but i will try help you with what i know)
     
    newzone, Nov 20, 2007 IP
  3. ireanwang1

    ireanwang1 Banned

    Messages:
    51
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Wordpress versions need to match your themes.
     
    ireanwang1, Nov 20, 2007 IP
  4. rockymountainexperience

    rockymountainexperience Peon

    Messages:
    486
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    That makes sense. I will try and get both to match. I will post again if I have any more problems. Thank you.
     
    rockymountainexperience, Nov 20, 2007 IP
  5. zackisaiah

    zackisaiah Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Change line 53 in wp-includes/widgets.php in to:

    $sidebar = array_merge($defaults, (array)$args);

    That error happens with certain PHP5 installs.
     
    zackisaiah, Nov 22, 2007 IP