sndsabin / Aragorn-Job-Manager-Magento2

Aragorn Job Manager is Magento 2 job and recruitment extension that empowers you to create a separate job section on your Magento store. It allows you to add jobs and interact directly with job seekers.
GNU General Public License v3.0
8 stars 4 forks source link

The requested component ("settings") is not found. Before using, you must add the implementation. #2

Open Anjii-sharma opened 6 years ago

Anjii-sharma commented 6 years ago

trying to implement this module in magento 2.1.6. it gives the following error when i clicked on job manager under Aragorn in menu. The requested component ("settings") is not found. Before using, you must add the implementation.

sndsabin commented 6 years ago

Please provide more detailed steps to reproduce.Try to reproduce this issue on a clean installation without any other custom modules. Screenshots would be fine too.

Anjii-sharma commented 6 years ago

i have disable all other custom modules and reinstall the module again but still the same problem exists.everything is working except the job manager link under aragorn...when i clicked on it then it gives me an error.please find the attachments for more detail.

11 22 33

sndsabin commented 6 years ago

In

Aragorn/JobManager/etc/adminhtml/system.xml

try replacing all <resource>Aragorn_JobManager::settings</resource>

with <resource>Aragorn_JobManager::config_settings</resource>

and then php bin/magento setup:upgrade

( Hadn't tested it though. )

sndsabin commented 6 years ago

@Anjii-sharma let me know if it worked.

Anjii-sharma commented 6 years ago

i have replaced the

Aragorn_JobManager::settings

with

Aragorn_JobManager::config_settings

and then php bin/magento setup:upgrade

but still the same issue exists.

sndsabin commented 6 years ago

Unfortunately, couldn't reproduce this issue.

sndsabin commented 6 years ago

@Anjii-sharma hey could you please post log of that record number 2098313612. For that go to magento root-directory/var/record and search for that number.

parveen12345 commented 6 years ago

I have also facing same error The requested component ("settings") is not found. Before using, you must add the implementation. please help me what shold i do to remove this error

sndsabin commented 6 years ago

Could you please post the screenshot or complete log of that error ? having hard time to reproduce the issue

parveen12345 commented 6 years ago

this the error log please help me its a very urgent for me a:4:{i:0;s:97:"The requested component ("settings") is not found. Before using, you must add the implementation.";i:1;s:7675:"#0 /var/www/html/magento/vendor/magento/module-ui/Model/Manager.php(207): Magento\Framework\View\Element\UiComponent\Config\Provider\Component\Definition->getComponentData('settings')

1 /var/www/html/magento/vendor/magento/module-ui/Model/Manager.php(279): Magento\Ui\Model\Manager->createRawComponentData('settings', false)

2 /var/www/html/magento/vendor/magento/module-ui/Model/Manager.php(298): Magento\Ui\Model\Manager->createDataForComponent('settings', Array)

3 /var/www/html/magento/vendor/magento/module-ui/Model/Manager.php(298): Magento\Ui\Model\Manager->createDataForComponent('filters', Array)

4 /var/www/html/magento/vendor/magento/module-ui/Model/Manager.php(298): Magento\Ui\Model\Manager->createDataForComponent('listingToolbar', Array)

5 /var/www/html/magento/vendor/magento/module-ui/Model/Manager.php(265): Magento\Ui\Model\Manager->createDataForComponent('listing', Array)

6 /var/www/html/magento/vendor/magento/module-ui/Model/Manager.php(166): Magento\Ui\Model\Manager->prepare('aragorn_jobmana...')

7 /var/www/html/magento/vendor/magento/framework/View/Element/UiComponentFactory.php(144): Magento\Ui\Model\Manager->prepareData('aragorn_jobmana...')

8 /var/www/html/magento/vendor/magento/framework/View/Layout/Generator/UiComponent.php(124): Magento\Framework\View\Element\UiComponentFactory->create('aragorn_jobmana...', NULL, Array)

9 /var/www/html/magento/vendor/magento/framework/View/Layout/Generator/UiComponent.php(93): Magento\Framework\View\Layout\Generator\UiComponent->generateComponent(Object(Magento\Framework\View\Layout\Data\Structure), 'aragorn_jobmana...', Array, Object(Magento\Framework\View\Layout\Interceptor))

10 /var/www/html/magento/vendor/magento/framework/View/Layout/GeneratorPool.php(86): Magento\Framework\View\Layout\Generator\UiComponent->process(Object(Magento\Framework\View\Layout\Reader\Context), Object(Magento\Framework\View\Layout\Generator\Context))

11 /var/www/html/magento/vendor/magento/framework/View/Layout.php(327): Magento\Framework\View\Layout\GeneratorPool->process(Object(Magento\Framework\View\Layout\Reader\Context), Object(Magento\Framework\View\Layout\Generator\Context))

12 /var/www/html/magento/var/generation/Magento/Framework/View/Layout/Interceptor.php(89): Magento\Framework\View\Layout->generateElements()

13 /var/www/html/magento/vendor/magento/framework/View/Layout/Builder.php(129): Magento\Framework\View\Layout\Interceptor->generateElements()

14 /var/www/html/magento/vendor/magento/framework/View/Page/Builder.php(55): Magento\Framework\View\Layout\Builder->generateLayoutBlocks()

15 /var/www/html/magento/vendor/magento/framework/View/Layout/Builder.php(65): Magento\Framework\View\Page\Builder->generateLayoutBlocks()

16 /var/www/html/magento/vendor/magento/framework/View/Page/Config.php(197): Magento\Framework\View\Layout\Builder->build()

17 /var/www/html/magento/vendor/magento/framework/View/Page/Config.php(217): Magento\Framework\View\Page\Config->build()

18 /var/www/html/magento/app/code/Aragorn/JobManager/Controller/Adminhtml/Job/Index.php(52): Magento\Framework\View\Page\Config->getTitle()

19 /var/www/html/magento/var/generation/Aragorn/JobManager/Controller/Adminhtml/Job/Index/Interceptor.php(24): Aragorn\JobManager\Controller\Adminhtml\Job\Index->execute()

20 /var/www/html/magento/vendor/magento/framework/App/Action/Action.php(102): Aragorn\JobManager\Controller\Adminhtml\Job\Index\Interceptor->execute()

21 /var/www/html/magento/vendor/magento/module-backend/App/AbstractAction.php(226): Magento\Framework\App\Action\Action->dispatch(Object(Magento\Framework\App\Request\Http))

22 /var/www/html/magento/vendor/magento/framework/Interception/Interceptor.php(74): Magento\Backend\App\AbstractAction->dispatch(Object(Magento\Framework\App\Request\Http))

23 /var/www/html/magento/vendor/magento/framework/Interception/Chain/Chain.php(70): Aragorn\JobManager\Controller\Adminhtml\Job\Index\Interceptor->___callParent('dispatch', Array)

24 /var/www/html/magento/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Aragorn\JobMana...', 'dispatch', Object(Aragorn\JobManager\Controller\Adminhtml\Job\Index\Interceptor), Array, 'adminAuthentica...')

25 /var/www/html/magento/vendor/magento/module-backend/App/Action/Plugin/Authentication.php(143): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain{closure}(Object(Magento\Framework\App\Request\Http))

26 /var/www/html/magento/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\Backend\App\Action\Plugin\Authentication->aroundDispatch(Object(Aragorn\JobManager\Controller\Adminhtml\Job\Index\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))

27 /var/www/html/magento/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\Interception\Chain\Chain->invokeNext('Aragorn\JobMana...', 'dispatch', Object(Aragorn\JobManager\Controller\Adminhtml\Job\Index\Interceptor), Array, 'adminMassaction...')

28 /var/www/html/magento/vendor/magento/module-backend/App/Action/Plugin/MassactionKey.php(33): Aragorn\JobManager\Controller\Adminhtml\Job\Index\Interceptor->Magento\Framework\Interception{closure}(Object(Magento\Framework\App\Request\Http))

29 /var/www/html/magento/vendor/magento/framework/Interception/Interceptor.php(142): Magento\Backend\App\Action\Plugin\MassactionKey->aroundDispatch(Object(Aragorn\JobManager\Controller\Adminhtml\Job\Index\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))

30 /var/www/html/magento/var/generation/Aragorn/JobManager/Controller/Adminhtml/Job/Index/Interceptor.php(39): Aragorn\JobManager\Controller\Adminhtml\Job\Index\Interceptor->___callPlugins('dispatch', Array, Array)

31 /var/www/html/magento/vendor/magento/framework/App/FrontController.php(55): Aragorn\JobManager\Controller\Adminhtml\Job\Index\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http))

32 /var/www/html/magento/vendor/magento/framework/Interception/Interceptor.php(74): Magento\Framework\App\FrontController->dispatch(Object(Magento\Framework\App\Request\Http))

33 /var/www/html/magento/vendor/magento/framework/Interception/Chain/Chain.php(70): Magento\Framework\App\FrontController\Interceptor->___callParent('dispatch', Array)

34 /var/www/html/magento/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\Framewo...', 'dispatch', Object(Magento\Framework\App\FrontController\Interceptor), Array, 'install')

35 /var/www/html/magento/vendor/magento/framework/Module/Plugin/DbStatusValidator.php(69): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception{closure}(Object(Magento\Framework\App\Request\Http))

36 /var/www/html/magento/vendor/magento/framework/Interception/Interceptor.php(142): Magento\Framework\Module\Plugin\DbStatusValidator->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))

37 /var/www/html/magento/var/generation/Magento/Framework/App/FrontController/Interceptor.php(26): Magento\Framework\App\FrontController\Interceptor->___callPlugins('dispatch', Array, Array)

38 /var/www/html/magento/vendor/magento/framework/App/Http.php(135): Magento\Framework\App\FrontController\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http))

39 /var/www/html/magento/vendor/magento/framework/App/Bootstrap.php(258): Magento\Framework\App\Http->launch()

40 /var/www/html/magento/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http))

41 {main}";s:3:"url";s:113:"/magento/admin/aragorn_jobmanager/job/index/key/51fc2428fba3d14336705733678f07285d2bd7556f7f9a550968b15535a87a1f/";s:11:"script_name";s:18:"/magento/index.php";}

sndsabin commented 6 years ago

What magento version are you using ?

parveen12345 commented 6 years ago

magento2.1

sndsabin commented 6 years ago

seems like issue with Magento 2.1.x. works fine for Magento 2.2.x. If you managed to solve it, please send a PR.

parveen12345 commented 6 years ago

ok but you have not a any solution for this

isantosKK commented 5 years ago

I also had the same error message when running my module in 2.1.14 but not on 2.2.x. I removed this code from a xml file in the ui_component folder and the error when away:

<settings>
    <sticky>true</sticky>
</settings>

If you still want your column headers sticky use this code: *haven't tested this on 2.2.x

<listingToolbar name="listing_top">
    <argument name="data" xsi:type="array">
        <item name="config" xsi:type="array">
            <item name="sticky" xsi:type="boolean">true</item>
        </item>
    </argument>
cyakant commented 4 years ago

I have same problem so how to solve it? anyone can help me?

a:4:{i:0;s:97:"The requested component ("settings") is not found. Before using, you must add the implementation.";i:1;s:9730:"#0 C:\xampp\htdocs\ves_office_furniture_magento21_quickstart\vendor\magento\module-ui\Model\Manager.php(207): Magento\Framework\View\Element\UiComponent\Config\Provider\Component\Definition->getComponentData('settings')

1 C:\xampp\htdocs\ves_office_furniture_magento21_quickstart\vendor\magento\module-ui\Model\Manager.php(279): Magento\Ui\Model\Manager->createRawComponentData('settings', false)

2 C:\xampp\htdocs\ves_office_furniture_magento21_quickstart\vendor\magento\module-ui\Model\Manager.php(298): Magento\Ui\Model\Manager->createDataForComponent('settings', Array)

3 C:\xampp\htdocs\ves_office_furniture_magento21_quickstart\vendor\magento\module-ui\Model\Manager.php(298): Magento\Ui\Model\Manager->createDataForComponent('column', Array)

4 C:\xampp\htdocs\ves_office_furniture_magento21_quickstart\vendor\magento\module-ui\Model\Manager.php(298): Magento\Ui\Model\Manager->createDataForComponent('columns', Array)

5 C:\xampp\htdocs\ves_office_furniture_magento21_quickstart\vendor\magento\module-ui\Model\Manager.php(265): Magento\Ui\Model\Manager->createDataForComponent('listing', Array)

6 C:\xampp\htdocs\ves_office_furniture_magento21_quickstart\vendor\magento\module-ui\Model\Manager.php(166): Magento\Ui\Model\Manager->prepare('mofosys_enquiry...')

7 C:\xampp\htdocs\ves_office_furniture_magento21_quickstart\vendor\magento\framework\View\Element\UiComponentFactory.php(144): Magento\Ui\Model\Manager->prepareData('mofosys_enquiry...')

8 C:\xampp\htdocs\ves_office_furniture_magento21_quickstart\vendor\magento\framework\View\Layout\Generator\UiComponent.php(124): Magento\Framework\View\Element\UiComponentFactory->create('mofosys_enquiry...', NULL, Array)

9 C:\xampp\htdocs\ves_office_furniture_magento21_quickstart\vendor\magento\framework\View\Layout\Generator\UiComponent.php(93): Magento\Framework\View\Layout\Generator\UiComponent->generateComponent(Object(Magento\Framework\View\Layout\Data\Structure), 'mofosys_enquiry...', Array, Object(Magento\Framework\View\Layout\Interceptor))

10 C:\xampp\htdocs\ves_office_furniture_magento21_quickstart\vendor\magento\framework\View\Layout\GeneratorPool.php(86): Magento\Framework\View\Layout\Generator\UiComponent->process(Object(Magento\Framework\View\Layout\Reader\Context), Object(Magento\Framework\View\Layout\Generator\Context))

11 C:\xampp\htdocs\ves_office_furniture_magento21_quickstart\vendor\magento\framework\View\Layout.php(327): Magento\Framework\View\Layout\GeneratorPool->process(Object(Magento\Framework\View\Layout\Reader\Context), Object(Magento\Framework\View\Layout\Generator\Context))

12 C:\xampp\htdocs\ves_office_furniture_magento21_quickstart\var\generation\Magento\Framework\View\Layout\Interceptor.php(89): Magento\Framework\View\Layout->generateElements()

13 C:\xampp\htdocs\ves_office_furniture_magento21_quickstart\vendor\magento\framework\View\Layout\Builder.php(129): Magento\Framework\View\Layout\Interceptor->generateElements()

14 C:\xampp\htdocs\ves_office_furniture_magento21_quickstart\vendor\magento\framework\View\Page\Builder.php(55): Magento\Framework\View\Layout\Builder->generateLayoutBlocks()

15 C:\xampp\htdocs\ves_office_furniture_magento21_quickstart\vendor\magento\framework\View\Layout\Builder.php(65): Magento\Framework\View\Page\Builder->generateLayoutBlocks()

16 C:\xampp\htdocs\ves_office_furniture_magento21_quickstart\vendor\magento\framework\View\Layout.php(244): Magento\Framework\View\Layout\Builder->build()

17 C:\xampp\htdocs\ves_office_furniture_magento21_quickstart\vendor\magento\framework\View\Layout.php(859): Magento\Framework\View\Layout->build()

18 C:\xampp\htdocs\ves_office_furniture_magento21_quickstart\var\generation\Magento\Framework\View\Layout\Interceptor.php(414): Magento\Framework\View\Layout->getBlock('menu')

19 C:\xampp\htdocs\ves_office_furniture_magento21_quickstart\vendor\magento\module-backend\Model\View\Result\Page.php(59): Magento\Framework\View\Layout\Interceptor->getBlock('menu')

20 C:\xampp\htdocs\ves_office_furniture_magento21_quickstart\var\generation\Magento\Backend\Model\View\Result\Page\Interceptor.php(24): Magento\Backend\Model\View\Result\Page->setActiveMenu('Mofosys_Enquiry...')

21 C:\xampp\htdocs\ves_office_furniture_magento21_quickstart\app\code\Mofosys\Enquiry\Controller\Adminhtml\Index\Index.php(26): Magento\Backend\Model\View\Result\Page\Interceptor->setActiveMenu('Mofosys_Enquiry...')

22 C:\xampp\htdocs\ves_office_furniture_magento21_quickstart\var\generation\Mofosys\Enquiry\Controller\Adminhtml\Index\Index\Interceptor.php(24): Mofosys\Enquiry\Controller\Adminhtml\Index\Index->execute()

23 C:\xampp\htdocs\ves_office_furniture_magento21_quickstart\vendor\magento\framework\App\Action\Action.php(102): Mofosys\Enquiry\Controller\Adminhtml\Index\Index\Interceptor->execute()

24 C:\xampp\htdocs\ves_office_furniture_magento21_quickstart\vendor\magento\module-backend\App\AbstractAction.php(226): Magento\Framework\App\Action\Action->dispatch(Object(Magento\Framework\App\Request\Http))

25 C:\xampp\htdocs\ves_office_furniture_magento21_quickstart\vendor\magento\framework\Interception\Interceptor.php(74): Magento\Backend\App\AbstractAction->dispatch(Object(Magento\Framework\App\Request\Http))

26 C:\xampp\htdocs\ves_office_furniture_magento21_quickstart\vendor\magento\framework\Interception\Chain\Chain.php(70): Mofosys\Enquiry\Controller\Adminhtml\Index\Index\Interceptor->___callParent('dispatch', Array)

27 C:\xampp\htdocs\ves_office_furniture_magento21_quickstart\vendor\magento\framework\Interception\Chain\Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Mofosys\Enquiry...', 'dispatch', Object(Mofosys\Enquiry\Controller\Adminhtml\Index\Index\Interceptor), Array, 'adminAuthentica...')

28 C:\xampp\htdocs\ves_office_furniture_magento21_quickstart\vendor\magento\module-backend\App\Action\Plugin\Authentication.php(143): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain{closure}(Object(Magento\Framework\App\Request\Http))

29 C:\xampp\htdocs\ves_office_furniture_magento21_quickstart\vendor\magento\framework\Interception\Chain\Chain.php(67): Magento\Backend\App\Action\Plugin\Authentication->aroundDispatch(Object(Mofosys\Enquiry\Controller\Adminhtml\Index\Index\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))

30 C:\xampp\htdocs\ves_office_furniture_magento21_quickstart\vendor\magento\framework\Interception\Interceptor.php(138): Magento\Framework\Interception\Chain\Chain->invokeNext('Mofosys\Enquiry...', 'dispatch', Object(Mofosys\Enquiry\Controller\Adminhtml\Index\Index\Interceptor), Array, 'adminMassaction...')

31 C:\xampp\htdocs\ves_office_furniture_magento21_quickstart\vendor\magento\module-backend\App\Action\Plugin\MassactionKey.php(33): Mofosys\Enquiry\Controller\Adminhtml\Index\Index\Interceptor->Magento\Framework\Interception{closure}(Object(Magento\Framework\App\Request\Http))

32 C:\xampp\htdocs\ves_office_furniture_magento21_quickstart\vendor\magento\framework\Interception\Interceptor.php(142): Magento\Backend\App\Action\Plugin\MassactionKey->aroundDispatch(Object(Mofosys\Enquiry\Controller\Adminhtml\Index\Index\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))

33 C:\xampp\htdocs\ves_office_furniture_magento21_quickstart\var\generation\Mofosys\Enquiry\Controller\Adminhtml\Index\Index\Interceptor.php(39): Mofosys\Enquiry\Controller\Adminhtml\Index\Index\Interceptor->___callPlugins('dispatch', Array, Array)

34 C:\xampp\htdocs\ves_office_furniture_magento21_quickstart\vendor\magento\framework\App\FrontController.php(55): Mofosys\Enquiry\Controller\Adminhtml\Index\Index\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http))

35 C:\xampp\htdocs\ves_office_furniture_magento21_quickstart\vendor\magento\framework\Interception\Interceptor.php(74): Magento\Framework\App\FrontController->dispatch(Object(Magento\Framework\App\Request\Http))

36 C:\xampp\htdocs\ves_office_furniture_magento21_quickstart\vendor\magento\framework\Interception\Chain\Chain.php(70): Magento\Framework\App\FrontController\Interceptor->___callParent('dispatch', Array)

37 C:\xampp\htdocs\ves_office_furniture_magento21_quickstart\vendor\magento\framework\Interception\Interceptor.php(138): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\Framewo...', 'dispatch', Object(Magento\Framework\App\FrontController\Interceptor), Array, 'install')

38 C:\xampp\htdocs\ves_office_furniture_magento21_quickstart\vendor\magento\framework\Module\Plugin\DbStatusValidator.php(69): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception{closure}(Object(Magento\Framework\App\Request\Http))

39 C:\xampp\htdocs\ves_office_furniture_magento21_quickstart\vendor\magento\framework\Interception\Interceptor.php(142): Magento\Framework\Module\Plugin\DbStatusValidator->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))

40 C:\xampp\htdocs\ves_office_furniture_magento21_quickstart\var\generation\Magento\Framework\App\FrontController\Interceptor.php(26): Magento\Framework\App\FrontController\Interceptor->___callPlugins('dispatch', Array, Array)

41 C:\xampp\htdocs\ves_office_furniture_magento21_quickstart\vendor\magento\framework\App\Http.php(135): Magento\Framework\App\FrontController\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http))

42 C:\xampp\htdocs\ves_office_furniture_magento21_quickstart\vendor\magento\framework\App\Bootstrap.php(258): Magento\Framework\App\Http->launch()

43 C:\xampp\htdocs\ves_office_furniture_magento21_quickstart\index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http))

44 {main}";s:3:"url";s:156:"/ves_office_furniture_magento21_quickstart/admin_furniture/mofosys_enquiry/index/index/key/6a5a88b217914e38c5f0e0f37e607b425ffbaa88e5160cfca8face9b5bbb68a5/";s:11:"script_name";s:52:"/ves_office_furniture_magento21_quickstart/index.php";}

RiddIer commented 4 years ago

I also had the same error message when running my module in 2.1.14 but not on 2.2.x. I removed this code from a xml file in the ui_component folder and the error when away:

<settings>
    <sticky>true</sticky>
</settings>

If you still want your column headers sticky use this code: *haven't tested this on 2.2.x

<listingToolbar name="listing_top">
    <argument name="data" xsi:type="array">
        <item name="config" xsi:type="array">
            <item name="sticky" xsi:type="boolean">true</item>
        </item>
    </argument>

try this as suggested by @isantosKK