Fatal error: Call to a member function override_option() on a non-object in /***my site route***/sites/default/modules/views/modules/comment.views_default.inc on line 22

I've started from scratch - fresh install and Views is the only module added so far.... I can't do anything with the site now unless I manually delete the Views directory.

This seem pretty major - but no one else has reported it!! What gives?

Comments

dawehner’s picture

sry for asking, are you sure you did uploaded the whole views? what happens if you remove the comment... file, is this error also in the other views default incs?

cinquetooty’s picture

Removing comment.views_default.inc just passes the error to the same line number in node.views_default.inc - remove that and taxonomy.views_default.inc generates the error.

I'm clueless!

Mebee I'll try 6.x-2.4?

cinquetooty’s picture

Status: Active » Closed (fixed)

I reloaded the site - back to another fresh install of 6.10, then added Views 6.x-2.5 - but this time using terminal to install directly on the server and everything works OK.

merlinofchaos’s picture

Usually the error you got indicates that the plugins directory didn't get installed properly.

Namour4ever’s picture

Version: 6.x-2.5 » 6.x-2.6
Assigned: Unassigned » Namour4ever
Status: Closed (fixed) » Closed (duplicate)

(From previous : #435838: Brand new install - adding Views causes fatal error)
Same thing happening here.
Everything works fine, but when activating Views for the first time (uploaded by FTP), it outputs :

Fatal error: Call to a member function override_option() on a non-object in *modules/views/modules/comment.views_default.inc on line 22

in a white page.

This error means the module is not installed
properly

Huh? I have no other way to install Views (as well as any module) than uploading by FTP and hitting the checkbox in "q=admin/build/modules".

Namour4ever’s picture

Assigned: Namour4ever » Unassigned

huh... i messed up with the "assign". i put it back to unassigned

merlinofchaos’s picture

Status: Closed (duplicate) » Closed (fixed)

Why would you mark a closed issue duplicate?

Namour4ever’s picture

Huh.. i tought there was no need to post a new one since that one was there... anyway. i'm not using views anymore because it's pain tn the you-know-what to have it woking... both my sites crashed with Views, so... it' sad, but i'm not going to have headaches about that anymore.