Cutline Theme Support Forums » Cutline Theme Support Forums

array merge problem after upgrade to WP2.2

(3 posts)
  • Started 3 years ago by rich
  • Latest reply from rich
  • This topic is resolved

  1. rich
    Member

    I was using the Cutline theme this morning with no problem. I updated Word Press to 2.2 and I now I get an error message at the top of each page.

    you can see it at http://governmentfutures-dev.com/talk/

    This is the error I get.

    Warning: array_merge() [function.array-merge]: Argument #2 is not an array in E:\inetpub\vhosts\governmentfutures-dev.com\httpdocs\talk\wp-includes\widgets.php on line 53

    Also I am able to see the widget page but am not able to move them around.

    Thanks in advance

    Posted 3 years ago #
  2. rich, change line 53 in wp-includes/widgets.php in to:

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

    That error happens iwith certain PHP5 installs.

    Posted 3 years ago #
  3. rich
    Member

    Thanks Franky!

    Works perfectly.

    Posted 3 years ago #

RSS feed for this topic

Reply

You must log in to post.