After updating Views Flag Refresh I get a list of about 100 identical warnings:

Warning: Invalid argument supplied for foreach() in views_object->_set_option_defaults() (line 84 of [...]/sites/all/modules/views-7.x-3.5/views/includes/base.inc).

I'll go back to 7.x-1.0-beta1.

Best,
semei

Comments

NikGleb’s picture

Hi.
After upgrade from 7.x-1.1 to 7.x-1.2 i have same errors.
Best regards, Nikgleb.

akk’s picture

yes same here

agnese.stelce’s picture

Same here after upgrade from 7.x-1.1 to 7.x-1.2 with Views 7.x-3.5 (no warnings with Views 7.x-3.3).

steffenr’s picture

Status: Active » Needs review
StatusFileSize
new784 bytes

Attached you find a patch solving this issue. Please review.

SteffenR

svetkkka’s picture

It works for me, thank you!

agnese.stelce’s picture

Patch in #4 helped here too (Views 7.x-3.5).

therainmakor’s picture

Patch in #4 fixed the issue for me with Views 7.x-3.5

Eugene Fidelin’s picture

StatusFileSize
new727 bytes

Patch in #4 is incorrect. Settings of plugin don't exist in View export.

Here is correct patch - just rename function "option_definition" to "options_definition_alter"

This patch will be used in future version of module.

Eugene Fidelin’s picture

Assigned: Unassigned » Eugene Fidelin
Eugene Fidelin’s picture

Status: Needs review » Fixed

Fixed in version 7.x-1.3

Status: Fixed » Closed (fixed)

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