mageprince / magento2-forcelogin

The Force Login extension for Magento 2 force customer to login to access pages which is added from admin. You can also force login for specific customer group and storeview.
4 stars 3 forks source link

Issue in url listing in the admin panel in Magento 2.3 #5

Open ChandrakantDevani opened 5 years ago

ChandrakantDevani commented 5 years ago

I have working on Magento 2.3 and i have use this plugin but it's give me issue in admin panel, The issue regarding display url list which is i use.
[1 exception(s): Exception #0 (InvalidArgumentException): Class argument is invalid: Magento\Framework\View\Element\UiComponent\Context

Exception #0 (InvalidArgumentException): Class argument is invalid: Magento\Framework\View\Element\UiComponent\Context

#1 Magento\Framework\Data\Argument\InterpreterInterface\Proxy->evaluate() called at [vendor/magento/framework/Data/Argument/Interpreter/Composite.php:61]
#2 Magento\Framework\Data\Argument\Interpreter\Composite->evaluate() called at [vendor/magento/module-ui/Config/Data.php:164]
#3 Magento\Ui\Config\Data->evaluateComponentArguments() called at [vendor/magento/module-ui/Config/Data.php:111]
#4 Magento\Ui\Config\Data->initData() called at [vendor/magento/module-ui/Config/Data.php:136]
#5 Magento\Ui\Config\Data->get() called at [vendor/magento/framework/View/Layout/Reader/UiComponent.php:100]
#6 Magento\Framework\View\Layout\Reader\UiComponent->interpret() called at [vendor/magento/framework/View/Layout/ReaderPool.php:105]
#7 Magento\Framework\View\Layout\ReaderPool->interpret() called at [vendor/magento/framework/View/Layout/Reader/Container.php:89]
#8 Magento\Framework\View\Layout\Reader\Container->interpret() called at [vendor/magento/framework/View/Layout/ReaderPool.php:105]
#9 Magento\Framework\View\Layout\ReaderPool->interpret() called at [vendor/magento/framework/View/Page/Config/Reader/Body.php:68]
#10 Magento\Framework\View\Page\Config\Reader\Body->interpret() called at [vendor/magento/framework/View/Layout/ReaderPool.php:105]
#11 Magento\Framework\View\Layout\ReaderPool->interpret() called at [vendor/magento/framework/View/Layout.php:325]
#12 Magento\Framework\View\Layout->generateElements() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:89]
#13 Magento\Framework\View\Layout\Interceptor->generateElements() called at [vendor/magento/framework/View/Layout/Builder.php:129]
#14 Magento\Framework\View\Layout\Builder->generateLayoutBlocks() called at [vendor/magento/framework/View/Page/Builder.php:55]
#15 Magento\Framework\View\Page\Builder->generateLayoutBlocks() called at [vendor/magento/framework/View/Layout/Builder.php:65]
#16 Magento\Framework\View\Layout\Builder->build() called at [vendor/magento/framework/View/Page/Config.php:224]
#17 Magento\Framework\View\Page\Config->build() called at [vendor/magento/framework/View/Page/Config.php:247]
#18 Magento\Framework\View\Page\Config->getTitle() called at [generated/code/Magento/Framework/View/Page/Config/Interceptor.php:50]
#19 Magento\Framework\View\Page\Config\Interceptor->getTitle() called at [app/code/Prince/Forcelogin/Controller/Adminhtml/Forcelogin/Index.php:69]
#20 Prince\Forcelogin\Controller\Adminhtml\Forcelogin\Index->execute() called at [generated/code/Prince/Forcelogin/Controller/Adminhtml/Forcelogin/Index/Interceptor.php:37]
#21 Prince\Forcelogin\Controller\Adminhtml\Forcelogin\Index\Interceptor->execute() called at [vendor/magento/framework/App/Action/Action.php:108]
#22 Magento\Framework\App\Action\Action->dispatch() called at [vendor/magento/module-backend/App/AbstractAction.php:231]
#23 Magento\Backend\App\AbstractAction->dispatch() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#24 Prince\Forcelogin\Controller\Adminhtml\Forcelogin\Index\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#25 Prince\Forcelogin\Controller\Adminhtml\Forcelogin\Index\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/module-backend/App/Action/Plugin/Authentication.php:143]
#26 Magento\Backend\App\Action\Plugin\Authentication->aroundDispatch() called at [vendor/magento/framework/Interception/Interceptor.php:135]
#27 Prince\Forcelogin\Controller\Adminhtml\Forcelogin\Index\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#28 Prince\Forcelogin\Controller\Adminhtml\Forcelogin\Index\Interceptor->___callPlugins() called at [generated/code/Prince/Forcelogin/Controller/Adminhtml/Forcelogin/Index/Interceptor.php:52]
#29 Prince\Forcelogin\Controller\Adminhtml\Forcelogin\Index\Interceptor->dispatch() called at [vendor/magento/framework/App/FrontController.php:159]
#30 Magento\Framework\App\FrontController->processRequest() called at [vendor/magento/framework/App/FrontController.php:99]
#31 Magento\Framework\App\FrontController->dispatch() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#32 Magento\Framework\App\FrontController\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#33 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#34 Magento\Framework\App\FrontController\Interceptor->___callPlugins() called at [generated/code/Magento/Framework/App/FrontController/Interceptor.php:26]
#35 Magento\Framework\App\FrontController\Interceptor->dispatch() called at [vendor/magento/framework/App/Http.php:137]
#36 Magento\Framework\App\Http->launch() called at [generated/code/Magento/Framework/App/Http/Interceptor.php:24]
#37 Magento\Framework\App\Http\Interceptor->launch() called at [vendor/magento/framework/App/Bootstrap.php:261]
#38 Magento\Framework\App\Bootstrap->run() called at [index.php:39]
]            
tushar2197 commented 5 years ago

@ChandrakantDevani @mageprince i have to use this custom module and i have find solution in Magento 2.3 and i have upload file in this so, your probleam has solved. this file is replace in path: "Prince/Forcelogin/view/adminhtml/ui_component"
[prince_forcelogin_index.txt](https://github.com/mageprince/magento2-forcelogin /files/3742394/prince_forcelogin_index.txt)