Environment: Drupal 7.22 , Views 7-3.7
Every Time I edit the cache settings and set the cache to time based
/admin/structure/views/ajax/display/artikel_vortraege/page_3/cache_options
of any View I get 4 times
Notice: Undefined index: #multiple in form_process_select() (Zeile 2601 von /home/www/vtad7/includes/form.inc).

Files: 
CommentFileSizeAuthor
#14 views-cache_time-2037749-14.patch989 bytesJvE
PASSED: [[SimpleTest]]: [MySQL] 1,664 pass(es).
[ View ]

Comments

ferrangil’s picture

Same warnings in my instalation.
Editing the views to add a 1 hour cache worked just fine, but then on the logs I had these notices too.

totocol’s picture

Experiencing same issue here when trying ti add time-based options to cache views

MPankau’s picture

Same issue here.

markisatacomputer’s picture

Same here

mbdev’s picture

Environment the same as original: Core 7.22, Views 7.x-3.7, and same issue here.

Displayed error:

An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /admin/structure/views/ajax/display/view_name/page_name/cache_options

Log:
Notice: Undefined index: #multiple in form_process_select() (line 2601 of /includes/form.inc).

In my case, although some AJAX error happens, the cache can be enabled and disabled. However, I can only enable default "1 hour/1 hour", and disable it, because no settings are accessible. I'm looking for a place where cache settings are stored, as a temporary workaround - can anyone point me in any direction?

Is the issue present in dev?

Exploratus’s picture

Same here.

dojorob76’s picture

Drupal 7.23, Views 7.x-3.7, Same issue.

No problem changing/saving the cache settings in Views, but same 4 messages in Error Log.

(Also using Views Cache Bully Module)

do_ocrat’s picture

same same. Ben battling similar errors for quite some time but this is the first time it's keeping me from being able to change a setting. I'd like to change cache timing option - no go.

An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: .../admin/structure/views/ajax/display/news/block/cache
StatusText: parsererror
ResponseText: Notice: Undefined index: #multiple in form_process_select() (line 2601 of ...\includes\form.inc). =>

Weird Work Around

I hate workarounds, but...if I copy the url to the cache settings link and paste it in my address bar I can make the changes successfully.

http://yourdomain.com/admin/structure/views/nojs/display/news/block/cache_options

yelvington’s picture

Issue summary:View changes

I hate to be a dittohead, but ... same here. For months now.

AlfTheCat’s picture

same here

AlfTheCat’s picture

Problem is now also that, since the views in question are on the homepage, visiting the homepage as UID1 crashes the site.
It does appear to involve view panes only though, in my case.

phil.stphns’s picture

I get this only when editing certain views, in this case, map views using OpenLayers.

RedEight’s picture

Ran into this issue with my site... I was able to silence the error by adding a check to includes/form.inc on line 2615. (Yes, I killed kittens)

changed it from
if ($element['#multiple']) {
to
if (isset($element['#multiple']) && $element['#multiple']) {

Seems like something is failing to set the value that gets passed... not entirely sure what is causing the issue though. I suspect it has something to do with the select fields on the cache settings page.

JvE’s picture

Version:7.x-3.7» 7.x-3.x-dev
Status:Active» Needs review
StatusFileSize
new989 bytes
PASSED: [[SimpleTest]]: [MySQL] 1,664 pass(es).
[ View ]

Views was adding form_process_select to the #process array of a textfield element.

andrewfn’s picture

Applied patch and it solved the problem for me.

jelo’s picture

Applied patch from #14 and it solved the problem for me too. Will this be committed?

web226’s picture

Patch in #14 also worked for me - thank you

jenlampton’s picture

Status:Needs review» Reviewed & tested by the community

Patch in #14 works great for me too. Thanks!

Dean Reilly’s picture

+1 worked for me as well.

cosolom’s picture

It's work. Thanks!