Enabling Views and Views UI with Drupal 6.4, I got this error:

Fatal error: Call to a member function override_option() on a non-object in /var/www/drupal/6/sites/all/modules/views/modules/comment.views_default.inc on line 22

Comments

fsimo’s picture

Same here... On my test site everything went ok, but in production one fails with this error... (differents LAMP/WAMP instalation)

fsimo’s picture

Solve!

It was my mistake upgrading Views through subversion. New version has move/rename/create directories I assume it has the same files.

merlinofchaos’s picture

So far, seeing this error has always meant an incorrect Views installation. People are seeing this often enough that it may be worthwhile to try to detect this state and bail if Views isn't installed properly.

merlinofchaos’s picture

Status: Active » Fixed
kkaefer’s picture

Yeah, just got the same error and it was solved by doing a fresh checkout of views...

stokito’s picture

Version: 6.x-2.0-rc4 » 6.x-2.1
Status: Fixed » Active

I had get this error when run upgrade.php LAMP, Drupal 6.6
Maybe we really have some trouble?
See another gemini issue #321599: Fatal function override_option()

merlinofchaos’s picture

Status: Active » Fixed

So far, seeing this error has always meant an incorrect Views
installation. People are seeing this often enough that it may be
worthwhile to try to detect this state and bail if Views isn't installed
properly.

If you have some evidence to the contrary, it's ok to re-open this issue, but it seems kind of lame to just re-open the issue without actually adding anything except a link to a different issue. :(

Status: Fixed » Closed (fixed)

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