Good thing i upgraded it on a test site. My twocols layout disappeared after upgrading to the latest release, just yesterday.

Just one block showed up in my home page!

I noticed that when i run the upgrade.php, a bunch of queries were excecuted. What could be the cause? Anyone with the same experience?

Comments

hectorplus’s picture

Dont know what seem to be the problem here. I uninstalled it, start from scratch, i chose twocols, added recent blogs, recent forum, nothing is displayed.

The only item showing is a node on the right.

hectorplus’s picture

All right. This is the error i get in the error log page:

array_merge() [<a href='function.array-merge'>function.array-merge</a>]: Argument #2 is not an array in /home/.../.../.../panels/content_types/block.inc on line 25.

I hope to give some light on this issue.

yktdan’s picture

Title: Lost my layout on upgrade » Failure on first try
Component: User interface » Code

Similar problem but more error messages
# warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/.makadisa/nynjtc/new.nynjtc.org/modules/contrib/panels/content_types/block.inc on line 25.
# warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/.makadisa/nynjtc/new.nynjtc.org/modules/contrib/panels/content_types/block.inc on line 25.
for each block in a 3-col layout

Drupal 5.1, freshly installed for first time, just generated a test panel with a single block in each column

higql’s picture

I have the same problem(drupal-5.1 and panel-5.x-1.1).

Anonymous’s picture

I have the same error here. Using Drupal 5.1 and the latest version of Panels. I'm using a 3-col layout, with about 4 blocks in each col, only 2 blocks disappeared, the others are fine though.

merlinofchaos’s picture

Can you try panels-dev code? I think this is fixed there, but want to get some confirmation.

hectorplus’s picture

The dev version solves the issue for me. No more Array Merge... problems. The contend i added to my twocols layout are working.

thanks.

yktdan’s picture

The dev version works for me too. Please publish it as I prefer not to run dev versions.

Bricks and Clicks Marketing’s picture

the dev version also worked for me, will mention it if i experience any further problems.

Gurpartap Singh’s picture

Right, the dev version doesn't output such errors.

merlinofchaos’s picture

Status: Active » Fixed
Joshua Hesketh’s picture

I have done some heavy modifications of the panels module to suite my needs. This bug however is effecting myself. Could somebody please point out the patch or how to fix this error.

Cheers,
Josh

Joshua Hesketh’s picture

Please ignore my last post. My error isn't relative to this issue. Sorry for the inconvenience.

Anonymous’s picture

Status: Fixed » Closed (fixed)