Class Magento\CatalogPermissions\Model\ResourceModel\Permission\Index does not exist

  • Автор темы Автор темы drishtiprak
  • Дата начала Дата начала
Регистрация
03.01.2024
Сообщения
128
Реакции
123
Credits
$102
hi guys from NullPro i need to fix this issue i'm try to install Elastic Search amasty and every think is fine but after make command - setup:di:compile - i get this issue

Class Magento\CatalogPermissions\Model\ResourceModel\Permission\Index does not exist

i have Catalog Permissions module from BSS and i have installed this module and the module is enabled
 
magento folder was default core ,maybe you need to check file status and permission,restart to compile
 
Последнее редактирование модератором:
hi guys from NullPro i need to fix this issue i'm try to install Elastic Search amasty and every think is fine but after make command - setup:di:compile - i get this issue

Class Magento\CatalogPermissions\Model\ResourceModel\Permission\Index does not exist

i have Catalog Permissions module from BSS and i have installed this module and the module is enabled
Did you ever resolve this issue? I have the same problem
 
Did you ever resolve this issue? I have the same problem
fix it manual and try again
go to path app/code/magento/
or
go to path vendor/magento/

search the magento folder in app/code/magento
or in vendor/magento
i have the magento foldr in vendor if you installing magento manual you will get the magento folder in app/code

and create folders manual

CatalogPermissions/Model/ResourceModel/Permission/Index.php

create the file in this path with name index.php

and paste this code

PHP:
<?php
namespace Magento\CatalogPermissions\Model\ResourceModel\Permission;
use Magento\Framework\Model\ResourceModel\Db\AbstractDb;
class Index extends AbstractDb
{
    protected function _construct()
    {
        $this->_init('catalogpermissions_index', 'id');
    }
}


and enjoy create your commands easy
 
Последнее редактирование модератором:

This member @tremplin contributed to the discussion at post #5 with a short message.

thanks!
 
fix it manual and try again
go to path app/code/magento/
or
go to path vendor/magento/

search the magento folder in app/code/magento
or in vendor/magento
i have the magento foldr in vendor if you installing magento manual you will get the magento folder in app/code

and create folders manual

CatalogPermissions/Model/ResourceModel/Permission/Index.php

create the file in this path with name index.php

and paste this code

<?php

namespace Magento\CatalogPermissions\Model\ResourceModel\Permission;

use Magento\Framework\Model\ResourceModel\Db\AbstractDb;

class Index extends AbstractDb
{
protected function _construct()
{
$this->_init('catalogpermissions_index', 'id');
}
}


and enjoy create your commands easy
Going to try this now. Thanks for that.
 
Верх