Date Thursday, October 28, 2010 - 16:11
User admin
Location http://mori.drupal7.dev/admin/structure/block/manage/rotating_banner/1/c...
Referrer http://mori.drupal7.dev/admin/structure/block
Message Warning: array_merge(): Argument #2 is not an array in rotating_banner_block_configure() (line 182 of /Applications/MAMP/htdocs/drupal-7.0-beta/sites/mori.drupal7.dev/modules/media/rotating_banner/rotating_banner.module).
Severity warning
Hostname 127.0.0.1

drupal-version: d7b2

Comments

drupa11y’s picture

* Warning: array_merge(): Argument #2 is not an array in rotating_banner_block_configure() (line 180 of /Applications/MAMP/htdocs/drupal-7.0-beta/sites/mori.drupal7.dev/modules/media/rotating_banner/rotating_banner.module).
* Warning: array_merge(): Argument #2 is not an array in rotating_banner_block_configure() (line 182 of /Applications/MAMP/htdocs/drupal-7.0-beta/sites/mori.drupal7.dev/modules/media/rotating_banner/rotating_banner.module).

besides: the banner settings are not saved and empty.

drupa11y’s picture

Update: error still comes up with latest dev-versions (drupal core & modules) from yesterday.
Rotating banner is latest version from a drupalgardens-export.

Does "gardens_features" have any impact on the rotating banner-module ?

drupa11y’s picture

Banner-Settings (measures & slider-options) are saved but got lost when editing again.

pieterdc’s picture

Status: Active » Needs review

add
$banner->settings = unserialize($banner->settings);
after
$banner = rotating_banner_load($rbid);
in function rotating_banner_block_configure
of rotating_banner.module

james.elliott’s picture

Status: Needs review » Active

No patch has been posted so this is still "active"

pieterdc’s picture

I posted a solution, so; it may be reviewed.
I didn't post a patch file. What's the harm?
Be my guest... :p

MrPhilbert’s picture

Similar issue here:
* Warning: array_merge() [function.array-merge]: Argument #2 is not an array in rotating_banner_block_configure() (line 198 of D:\inetpub\wwwroot\drupal-7.0-beta3\sites\all\modules\rotating_banner\rotating_banner.module).
* Warning: array_merge() [function.array-merge]: Argument #2 is not an array in rotating_banner_block_configure() (line 200 of D:\inetpub\wwwroot\drupal-7.0-beta3\sites\all\modules\rotating_banner\rotating_banner.module).
* Notice: Undefined index: fluid in rotating_banner_block_configure() (line 281 of D:\inetpub\wwwroot\drupal-7.0-beta3\sites\all\modules\rotating_banner\rotating_banner.module).
* Notice: Undefined index: width in rotating_banner_block_configure() (line 292 of D:\inetpub\wwwroot\drupal-7.0-beta3\sites\all\modules\rotating_banner\rotating_banner.module).
* Notice: Undefined index: height in rotating_banner_block_configure() (line 303 of D:\inetpub\wwwroot\drupal-7.0-beta3\sites\all\modules\rotating_banner\rotating_banner.module).
* Notice: Undefined index: controls in rotating_banner_block_configure() (line 352 of D:\inetpub\wwwroot\drupal-7.0-beta3\sites\all\modules\rotating_banner\rotating_banner.module).

mthart’s picture

I get the exact same error as #7 when trying to create a block, using the latest HEAD versions of Media and Rotating Banner, on RackSpace Cloud Sites hosting (php 5.2 i believe).

ksenzee’s picture

Status: Active » Fixed

From what I can tell this should no longer be happening with the latest development snapshot. If I'm wrong, please feel free to reopen the issue.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.