cancel
Showing results for 
Search instead for 
Did you mean: 

M2.3.5 - Configuration Saving Error

SOLVED

M2.3.5 - Configuration Saving Error

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

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Re: M2.3.5 - Configuration Saving Error

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>"

View solution in original post

4 REPLIES 4

Re: M2.3.5 - Configuration Saving Error

@gkarthick87 

 

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.  

Manish Mittal
https://www.manishmittal.com/

Re: M2.3.5 - Configuration Saving Error

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>"

Re: M2.3.5 - Configuration Saving Error

@gkarthick87 

 

Glad to hear!

Manish Mittal
https://www.manishmittal.com/

Re: M2.3.5 - Configuration Saving Error

Can you help to find Solution