When I try to save new view the http:site-name.com/admin/build/views/edit/playlist end up with error message:

Fatal error: Call to a member function validate() on a non-object in serverpath/sites/default/modules/views/includes/admin.inc on line 941.

This is the issue from #544164: Cannot save View, breaks on validate 6.x-3.x-dev which has been closed as duplicate of #585886: Call to a member function validate() on a non-object views/includes/admin.inc on line 895. Later comment [#585886#comment-2564772] shows that this is not only form module related problem.

Comments

dawehner’s picture

I would suggest here to first try out the latest dev version.

After this disable any kind of contrib module which could cause this. It's hard for views if many kind of contrib modules break the views ui.

ronline’s picture

Title: Cannot create a new view. » Can't modify the view either.

I've tried to add a field “path” to an existing default view => product.
Automatic live preview is showing the added field, as soon as I try to save I run in to error message.

When I reedit concerned view the field shows in field settings but is missing when I browse the view.

Cache has been cleared, watchdog doesn't show any entry.

ronline’s picture

@dreine
I've overlooked your comment#1.
Yep I got bunch of contributed modules.
I'll try your advice will get back with output.

dawehner’s picture

Your bug-behaviour looks exactly like the problem of the form module.

ronline’s picture

Title: Can't modify the view either. » Flashvideo is breaking Views.
Project: Views (for Drupal 7) » FlashVideo
Version: 6.x-3.0-alpha3 » 6.x-1.5

Issue is caused by Flashvideo module.

ronline’s picture

I've disabled all contributed modules to find out that problem is coming from flashvideo module.
I've also tested the latest views dev release the behavior is the same => can't save / modify the view as far as the flashvideo remain activated.

inforeto’s picture

Subscribing.
Any clue as what in contrib modules could be making views ui fail validation?
Like having the view object missing from form_state upon submit.