magepal / magento2-gmail-smtp-app

Configure Magento 2 to send email using Google App, Gmail, Amazon Simple Email Service (SES), Microsoft Office365 and many other SMTP (Simple Mail Transfer Protocol) servers
https://www.magepal.com
319 stars 148 forks source link

Wrong arguments #172

Closed shinesoftware closed 3 years ago

shinesoftware commented 3 years ago

Hello guys,

after installing the module by the composer tool (v.2.8.5) at my Magento ver. 2.3.5-p2 and then I try to add the credentials in the form:

Selection_024

but I get this error:

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/html/magento23x.local/vendor/magento/module-config/Model/Config.php on line 279 and defined in /var/www/html/magento23x.local/vendor/magento/module-config/Model/Config.php:248 Stack trace: #0 /var/www/html/magento23x.local/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/html/magento23x.local/vendor/magento/module-config/Model/Config.php(429): Magento\Config\Model\Config->getField('system/cron', 'template', 'use_separate_pr...') #2 /var/www/html/magento23x.local/vendor/magento/module-config/Model/Config.php(488): Magento\Config\Model\Config->_processGroup('template', Array, Array, 'system/c in /var/www/html/magento23x.local/vendor/magento/module-config/Model/Config.php on line 248

any idea?

thanks

srenon commented 3 years ago

To solve this issue, please take a look at https://community.magento.com/t5/Magento-2-x-Technical-Issues/M2-3-5-Configuration-Saving-Error/td-p/453808

shinesoftware commented 3 years ago

Thanks @srenon we have solved the problem disabling all the external modules and seems that the error wasn't yours. Regards