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 MagentoConfigModelConfig::getOriginalFieldId() must be an instance of MagentoConfigModelConfigStructureElementGroup, instance of MagentoConfigModelConfigStructureElementFieldInterceptor 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): MagentoConfigModelConfig->getOriginalFieldId(Object(MagentoConfigModelConfigStructureElementFieldInterceptor), ‘use_separate_pr…’) #1 /var/www/staging.website.com/vendor/magento/module-config/Model/Config.php(429): MagentoConfigModelConfig->getField(‘system/cron’, ‘template’, ‘use_separate_pr…’) #2 /var/www/staging.website.com/vendor/magento/module-config/Model/Config.php(481): MagentoConfigModelConfig->_processGroup(‘template’, Array, Array, ‘system/c in /var/www/staging.website.com/vendor/magento/module-config/Model/Config.php on line 248