Vinai / groupscatalog2

Magento extension to enable you to hide categories and products from customers depending on their customer group. This is a Magento 1.6 and newer compatible version of the Netzarbeiter Customer Groups Catalog extension.
139 stars 60 forks source link

Call to a member function createIndexTable() on a non-object #111

Closed EspertoMagento closed 9 years ago

EspertoMagento commented 9 years ago

Hello, I have this error when i try to reindex.

"PHP Fatal error: Call to a member function createIndexTable() on a non-object in /Library/WebServer/Documents/magento18/www/app/code/community/Netzarbeiter/GroupsCatalog2/Model/Resource/Indexer/Abstract.php on line 187"

Where is the problem?

Thanks

Vinai commented 9 years ago

Thanks for your issue report. Please check if the following file exists and is indeed a file (not a directory): /Library/WebServer/Documents/magento18/www/app/code/community/Netzarbeiter/GroupsCatalog2/Model/Resource/Setup.php

If not, you can fetch it from this repository to create it: https://raw.githubusercontent.com/Vinai/groupscatalog2/master/app/code/community/Netzarbeiter/GroupsCatalog2/Model/Resource/Setup.php

EspertoMagento commented 9 years ago

Thanks for the answer. I see that the file Setup.php exists and is a file and not a directory.

schermata 2015-01-16 alle 11 22 42 schermata 2015-01-16 alle 11 21 04

Vinai commented 9 years ago

Please check if the latest version fixes the issue for you.

EspertoMagento commented 9 years ago

Ok, now it works. Thanks For you, it is difficult to make a change in the extension that gives different permissions on every single product?

Vinai commented 9 years ago

Setting visibility on a product level is possible out of the box with this extension. So either you have missed that part of the functionality, or I am misunderstanding you.