When editing a view with a view mode, this warning is produced:

Strict warning: Declaration of views_modes_plugin_display_mode::options_submit() should be compatible with views_plugin::options_submit(&$form, &$form_state) in _registry_check_code() (line 3062 of /Applications/MAMP/htdocs/max/includes/bootstrap.inc).

Need to pass $form by reference in the function options_submit() in file views_modes_plugin_display_mode.inc :

function options_submit($form, &$form_state) {
    parent::options_submit($form, $form_state);

Should read:

function options_submit(&$form, &$form_state) {
    parent::options_submit($form, $form_state);

Attached is a patch.

Comments

matglas86’s picture

Status: Needs review » Reviewed & tested by the community

Fix works for me.

heddn’s picture

+1 on op. RTBC again.

batje’s picture

Status: Reviewed & tested by the community » Closed (duplicate)

committed patch from #1790480: Configuration Issue (sorry, you were first, i know)