- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm trying to change cache type to Varnish and I'm getting the below error while hit save config
Fatal error: Uncaught TypeError: Argument 1 passed to Magento\Config\Model\Config::getOriginalFieldId() must be an instance of Magento\Config\Model\Config\Structure\Element\Group, instance of Magento\Config\Model\Config\Structure\Element\Field\Interceptor given, called in /var/www/staging.website.com/vendor/magento/module-config/Model/Config.php on line 279 and defined in /var/www/staging.website.com/vendor/magento/module-config/Model/Config.php:248 Stack trace: #0 /var/www/staging.website.com/vendor/magento/module-config/Model/Config.php(279): Magento\Config\Model\Config->getOriginalFieldId(Object(Magento\Config\Model\Config\Structure\Element\Field\Interceptor), 'use_separate_pr...') #1 /var/www/staging.website.com/vendor/magento/module-config/Model/Config.php(429): Magento\Config\Model\Config->getField('system/cron', 'template', 'use_separate_pr...') #2 /var/www/staging.website.com/vendor/magento/module-config/Model/Config.php(481): Magento\Config\Model\Config->_processGroup('template', Array, Array, 'system/c in /var/www/staging.website.com/vendor/magento/module-config/Model/Config.php on line 248
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Already found. Thanks for your reply.
The issue is on cron_groups.xml
This line was missed on group "<use_separate_process>1</use_separate_process>"
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: M2.3.5 - Configuration Saving Error
It might be issue cause, group_id should be unique in system.xml and crontab.xml files.
Did you enabled any custom module, please try to disable it and run upgrade/ cache flush command.
https://www.manishmittal.com/
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: M2.3.5 - Configuration Saving Error
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: M2.3.5 - Configuration Saving Error
Can you help to find Solution