Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.0-alpha5
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Mar 2008 at 04:39 UTC
Updated:
7 Aug 2012 at 06:45 UTC
Jump to comment: Most recent file
Comments
Comment #1
mfbAssuming you found the same issue I did, there is a bad call to l().
Comment #2
physiotek commentedtoo bad it doesn't work here.
gave me this error instead:
Fatal error: Call to undefined method stdClass::get_path() in /homesites/all/modules/views/includes/admin.inc on line 47
i guess i'll have to wait for a next release.
Comment #3
merlinofchaos commentedThere are actually 2 problems here. One is fixed by mfb's patch (committed, thanks!) and the other is that you have a module that is giving you Views 1 views that don't work in Views 2. I put in a patch to ensure Views 2 rejects those views, and committed it to HEAD.
Comment #4
physiotek commentedi have installed the latest version of views alpha3 and desinstalled all non-core modules and i still have the same error............
Fatal error: Call to undefined method stdClass::get_path() in /home/sites/all/modules/views/includes/admin.inc on line 48 when trying to access views module from admin
and i have this message from many more pages:
warning: Invalid argument supplied for foreach() in /home/sites/all/modules/views/views.module on line 635.
i always updated the db as i am supposed to do.
dunno what is wrong
pht3k
Comment #5
merlinofchaos commentedDid you clear cache_views table?
Comment #6
physiotek commentedargh that was it!!!
thanks!!
i didnt thought of clearing the cache since i dont have cache activated, but it seems views as his own cache even if cache is turned off. i simply purged directly in the database from phpmyadmin and it worked like a charm!!
thanks
pkt3k
Comment #7
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #8
ica commentedi am also having the same 'Unsupported operand types' error
Fatal error: Unsupported operand types in /home/includes/common.inc on line 1435
above advised that to clear the cache_views table via phpMyAdmin and worked for him but when i check the cache_views is already empty, yet i still get the same error on a blank page and it renders the site as blank page
the error is the same with both version views-6.x-2.0-alpha4 and views-6.x-2.0-alpha5
is views-6.x-2.0-alpha5 works with anyone else?
is there another way of this error?
thanks
Comment #9
alza2 commentedHi,
I have same problem. I just move my site from a host to another... when I click on the "menu" in "administer". I have this message:
Fatal error: Unsupported operand types in /home/alireza/domains/farhatblog.fr/public_html/drupal/includes/common.inc on line 1435
on phpmyadmin, I don't even have the table cache_views
???
Comment #10
TheresaM commentedI had no modules installed. had just enabled fblike theme, was enabling menu's when this occurred, I deleted fblike theme through my ftp and the site recovered,
My error:
Unsupported operand types in /home/includes/common.inc on line 1435
Comment #11
j0rd commentedThis happened to be in Drupal 7 because I had a hook_theme() which didn't return anything.
change it to
And it resolved my issue.