Im using this Global Filter module as a block in a panel. After upgrading Ctools to 7.>-1.3, my sites breaks completely trying to edit/view the panel backend where the Global Filter block is located.

The warning in the log saying: Warning: strlen() expects parameter 1 to be string, array given in drupal_validate_utf8() (line 1587 of /Users/bilde/Sites/drupal/multisites/d7core/includes/bootstrap.inc).

hope someone can figure this one out, so I dont have to downgrade the ctools module?

Ctools 7.x-1.3
Panels 7.x-3.3
Global Filter 7.x-1-10

Comments

naeluh’s picture

I am getting this too.

rdeboer’s picture

Anything in the CTools or Panels issue queues?
What did they change to cause this?

Note that there's is NO code in Views Global Filter that refers to Panels or CTools. Views Global Filter just creates a simple plain block. That's all.
I'm wondering whether these symptoms have something to do with the Panels-to-CTools interface.

Rik

naeluh’s picture

I think it may be ajax related cause it seems thats where it fails - adding the block to a panel

unchanged blocks work fine

when a block has been configured for global filter options it fails at the ajax adding of the block in panels

it has to be something there

also it fails to really load the content adding area in panels

rdeboer’s picture

Seems similar to http://drupal.org/node/1961060#comment-7260846 too....

There's this fix: http://drupal.org/node/1925018#comment-7104288. It's dated 25 Feb, so I'm not sure if the fix is already part of CTools 7.x-1.3, in which case what we're seeing is a new problem.

naeluh’s picture

@RdeBoer Are you saying use 7.1dev version of ctools with patch applied I will test this and report here

naeluh’s picture

@RdeBoer 7.1.dev with this patch http://drupal.org/node/1925018#comment-7104288 works to fix this

how ever this new release of ctools seems to have broke builders layout cause it sure as heck isnt working any more

rdeboer’s picture

Title: Global Filter fatal error after Ctools module update to 7.x-1.3 » Global Filter as a Panel causes error with Ctools 7.x-1.3: requires CTools patch
Status: Active » Fixed

Ok, if we're all convinced that this is a CTools issue, with the fix mentioned in #6 confirmed to be working, I'll consider this problem fixed from Views Global Filter point of view.

sbilde’s picture

This patch did the trick for me: http://drupal.org/files/ctools-n1925018-12.patch

rdeboer’s picture

Re #8....
.... which is that same patch from #6 in this issue.
Cool. Thanks for confirming.
Rik

Status: Fixed » Closed (fixed)

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