Hi,
I had recently update the FAQ to the latest version 7.x-1.0 which produces the following notice when try to edit FAQ view:

Notice: Array to string conversion in views_handler_filter->admin_summary()

The notice is due to following code in faq.views_default.inc

 Filter criterion: Content translation: Language */
  /*$handler->display->display_options['filters']['language']['id'] = 'language';
  $handler->display->display_options['filters']['language']['table'] = 'node';
  $handler->display->display_options['filters']['language']['field'] = 'language';
  $handler->display->display_options['filters']['language']['value'] = array(
    '***CURRENT_LANGUAGE***' => '***CURRENT_LANGUAGE***',
    'und' => 'und',
  );

Which is trying to add language filter to the view but when i comment the following code the notice is gone and there is no Broken Filter in view.

Comments

MtRoxx’s picture

Try using the Views Cache Bully. I had quite a few broken filter errors and the views cache bully helped.

streiger’s picture

Enabling the content translation module got rid of the error for me.

extexan’s picture

Priority: Normal » Major

I assume "Views Cache Bully" is a module, and I know content translation is a module - but I'd rather not enable either one of those.

Is it possible to get a fix for this that doesn't involve enabling modules I don't need?

MtRoxx’s picture

Well ExTexan, in my view I needed it or I would not have installed it. But, if you want to go in manually and make sure all your views cache settings are correct it is one way to spend your time I guess.

extexan’s picture

@MtRoxx,

Sorry for the misunderstanding... my comment was intended for the mod devs, not you. I don't really know much about Views Cache Bully, but it sounds like a bandaid approach. I was hoping the devs might fix the issue at the source, without me needing to enable other modules that "fix" or "mask" it.

MtRoxx’s picture

ExTexan - For me, the Broken/Missing handler is just saying the cache is full. The only recommendation I have it to set the cache variables or use cache bully. In my opinion the developer of the module is not responsible for caching decisions.

extexan’s picture

Ah, I see. Just curious how you know that "broken/missing handler" means "cache is full"? The wording of that message would never point me in that direction. And which cache are we talking about, exactly? (Drupal has so many.)

I'm not following your comment that "the developer of the module is not responsible for caching decisions." That implies that I have some control over whether or not this error appears. If we ignore the possible solution of installing the Cache Bully module, what "decision" have I made about my cache that could have caused this - or, in other words, what setting do I change to eliminate the error?

Also, if there is such a setting, perhaps the developer could note that fact in the documentation and recommend the correct setting for error-free performance of the module.

Please understand that I'm not being argumentative or difficult... I'm just trying to fully understand the issue and any (and all) possible solutions.

MtRoxx’s picture

ExTexan, I understand you are not being argumentative or difficult. Please understand that I am not being argumentative either. But also understand that no one is going to give you specific support while you learn. 99% of us volunteer our time and our code. Rarely do we have time to hand hold someone through the learning process as well. Have you read all the documentation on the module? Have you researched every option in views?

How did I learn about the cache for views? Research. I googled, and read and repeated the process until I found an answer. The developers have offered their code for the module for free. It is a great gift. They have offered documentation, please read it.

dhirendra.mishra’s picture

Enabling date views module solved issue for me...