After running the latest upgrade to 7.x-3.0-rc1, I am now receiving errors that weren't there before. I am new to drupal and views and dont know a whole lot about PHP. Can someone please help?

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in busy_pager() (line 168 of C:\Users\................\sites\all\themes\busy\template.php).

Comments

dawehner’s picture

Project: Views (for Drupal 7) » Busy
Version: 7.x-3.0-rc1 »
Component: Miscellaneous » Code

Let's move to busy theme.

merlinofchaos’s picture

Status: Active » Closed (won't fix)

That error seems to be in the 'busy' theme, and does not appear to be related to Views.

aschiwi’s picture

Status: Closed (won't fix) » Active

Reopening since the issue has been moved to Busy. I can confirm this error with Views rc1. We'll post a fix soon.

stBorchert’s picture

@rickyracoon: could you please try the following and report if this works.

* open template.php of busy in your favorite editor.
* replace line 137 ($parameters = $variables['parameters']) with

<?php  
  $parameters = array();
  if (isset($variables['parameters']) && !is_array($variables['parameters'])) {
    $parameters = array($variables['parameters']);
  }
?>

* save template.php and reload your browser

Now the error should be gone and the pager should be displayed as intended by us (especially the link to the last page).

aschiwi’s picture

@stborchert: works for me. we should commit the fix.

aschiwi’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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

yooperjb’s picture

Category: support » task

Thanks! Worked for me.

ingram87’s picture

Thanks, worked for me also.

heather’s picture

Worked for me too... but... when will this project get an update?