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
Comment #1
drupa11y commented* 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.
Comment #2
drupa11y commentedUpdate: 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 ?
Comment #3
drupa11y commentedBanner-Settings (measures & slider-options) are saved but got lost when editing again.
Comment #4
pieterdcadd
$banner->settings = unserialize($banner->settings);after
$banner = rotating_banner_load($rbid);in function rotating_banner_block_configure
of rotating_banner.module
Comment #5
james.elliott commentedNo patch has been posted so this is still "active"
Comment #6
pieterdcI posted a solution, so; it may be reviewed.
I didn't post a patch file. What's the harm?
Be my guest... :p
Comment #7
MrPhilbert commentedSimilar 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).
Comment #8
mthart commentedI 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).
Comment #9
ksenzeeFrom 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.