I have a website which will feature an online store sometime in the future, thus I have gone ahead and installed commerce klickstart. Now on top of that I need a restricted photo gallery. I have set that up and now created a user GalleryViewer. In the permissions, I can't see what settings I might have wrong. but when I log in with my GalleryViewer user. I get to this url http://quaaoutlodge.com/user and see this error:

Fatal error: Call to a member function access() on a non-object in /home/content/q/u/a/quaa7882/html/sites/all/modules/commerce_kickstart/modules/contrib/views/includes/view.inc on line 497

why is this and how do I get rid of it? I want the user to be redirected straight to http://quaaoutlodge.com/gallery after logging in (can do with url redirect I know but I can't get past this error). And then when I go to that gallery page after logging in, I see these error notices on top of my gallery display:

Notice: Undefined index: page in view->choose_display() (line 497 of /home/content/q/u/a/quaa7882/html/sites/all/modules/commerce_kickstart/modules/contrib/views/includes/view.inc).
Notice: Trying to get property of non-object in view->choose_display() (line 497 of /home/content/q/u/a/quaa7882/html/sites/all/modules/commerce_kickstart/modules/contrib/views/includes/view.inc).

I'm stalled and don't know what I can do other than getting rid of the kickstart ecommerce modules but i will need to reinstall them eventually...

Thanks for any assistance!

Ron

Comments

cerr’s picture

Got it resolved, had to disable all related commerce modules and then the error would disappear. However, I'm still wondering why this error showed up all of a sudden...

vasike’s picture

Category: bug » support
Status: Active » Postponed (maintainer needs more info)

it's hard to say how your issue it's related with Commerce Kickstart.
sure your error points to commerce kickstart profile folder, because there are the contributed modules,
but it seems the issue is from other place, probably some custom stuff you may have.

yusufhm’s picture

Were you able to find a solution other than disabling Commerce?

I have the same issue without installing Commerce.

planete22222’s picture

Project: Commerce Kickstart » Ice Commerce
Version: 7.x-2.6 »
Component: Code » Miscellaneous

J'ai obtenu le même message d'erreur et suis abouti via Google sur cette page qui m'a bien aidé.

« Notice : Undefined index: page view->choose_display() ( 497 sites/all/modules/views/includes/view.inc). »

Ainsi j'ai commencé à désactiver les modules « Commerce » en vérifiant à chaque fois si il y avait des conséquences visibles dans le panier.
Dans l'ordre j'ai désactivé :
-Checkout 7.x-1.8 =même message d'erreur
-Customer UI 7.x-1.8 =même message d'erreur
-Line Item UI 7.x-1.8 =même message d'erreur
-Order UI 7.x-1.8 YES!!! Tout va bien.
Je n'ai pas réactivé les 3 modules précédents étant donnés qu'ils ne me semblaient pas utiles.

Merci les amis !

planete22222’s picture

Issue summary: View changes

cleaned up report