When I create a new View for FullCalendar with Page, Block 1 and Block 2 Displays. After awhile when I try to edit the Settings of FullCalendar Format, I get this error:

An AJAX HTTP error occurred. HTTP
Result Code: 200
Debugging information follows.
Path: /admin/structure/views/ajax/display/fullcalendar/block_1/style_options
StatusText: parsererror
ResponseText: Warning: array_merge(): Argument #1 is not an array in array_merge() (line 3969 of /includes/form.inc)

I am using all Dev of CTools, FullCalendar and Views.

Pastebin of FullCalendar View: http://pastebin.com/MhB6ZKM3

Comments

aspilicious’s picture

Just to say that I can't reproduce this, and I don't have a clue what is going on...

tim.plunkett’s picture

Status: Active » Postponed (maintainer needs more info)

There is no call to array_merge on that line in that file, you must be using an older version of core.
Please update to 7.4, or even 7.x, and see if you can still reproduce.

R13ose’s picture

I just tried this with 7.4 and this is the error I am getting:

An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /admin/structure/views/ajax/display/fullcalendar/block_1/style_options
StatusText: parsererror
ResponseText: Warning: array_merge(): Argument #1 is not an array in array_merge() (line 3988 of /includes/form.inc). =>

Line 3988 is: $element['#attributes']['class'] = array_merge($element['#attributes']['class'], $class); from here.

Here is what I got from ddebug_backtrace():
... (Array, 12 elements)
12: _form_set_class (Array, 4 elements)
file (String, 56 characters ) /includes...
line (Integer) 2544
function (String, 15 characters ) _form_set_class | (Callback) _form_set_class();
args (Array, 2 elements)
0 (Array, 26 elements)
1 (Array, 1 element)
0 (String, 11 characters ) form-select

Tim said the class is a string. needs to be an array. I also did dpm($element['#attributes']); but this is huge amounts of text that is crazy to look at.

I did find this: _form_set_class($element, array('form-select')); on line 2544 of the include/form.inc

If there is anything else I can try out please let me know.

aspilicious’s picture

- Do you have some custom fullcalendar modules installed?
- Do you have the new colors module installed?
- Did you run update.php?
- Can you give your module stack?

(I'm just collecting more information)

R13ose’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

This worked out as I figured the steps above. Might have been that update.php did the trick or I had another module like devel enabled. Who knows exactly what would have caused this not to work out.

R13ose’s picture

Issue summary: View changes

Added Export of FullCalendar Views