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 147 forks source link

Magepal GmailSmtpApp empty configuration #132

Closed Nicatgenglobal closed 5 years ago

Nicatgenglobal commented 5 years ago

Magento version #: 2.3.0

Edition (EE, CE, OS, etc): CE

Expected behavior:

I installed manually Magepal GmailSmtpApp following instructions. all good via composer. Expected behavior:

  1. to see the configuration in Store --> Configuration --> Magepal --> Smtp Configuration
  2. to see the configuration page in Store --> Configuration -->Advanced --> System

Actual behavior:

Both pages are completely empty

I found a couple of related issues open and closed but no solution.

Please, anyone came across the same issue? image

Thanks in advance.

Nick

srenon commented 5 years ago

@Nicatgenglobal... Could you check your PHP error log?

Nicatgenglobal commented 5 years ago

2 exception(s): Exception #0 (Magento\Framework\Exception\LocalizedException): Invalid block type: MagePal\GmailSmtpApp\Block\Adminhtml\System\Config\Form\Module\Version Exception #1 (ReflectionException): Class MagePal\GmailSmtpApp\Block\Adminhtml\System\Config\Form\Module\Version does not exist

Exception #0 (Magento\Framework\Exception\LocalizedException): Invalid block type: MagePal\GmailSmtpApp\Block\Adminhtml\System\Config\Form\Module\Version

0 /home/gengloba/public_html/vendor/magento/framework/View/Layout/Generator/Block.php(249): Magento\Framework\View\Layout\Generator\Block->getBlockInstance('MagePal\GmailSm...', Array)

1 /home/gengloba/public_html/vendor/magento/framework/View/Layout.php(776): Magento\Framework\View\Layout\Generator\Block->createBlock('MagePal\GmailSm...', 'adminhtml\syste...', Array)

2 /home/gengloba/public_html/vendor/magento/framework/View/Layout.php(759): Magento\Framework\View\Layout->_createBlock('MagePal\GmailSm...', 'adminhtml\syste...', Array)

3

srenon commented 5 years ago

I have not seen, could not replicate or have not idea why this issue occurs. No one has reported this issue in over a year. Can you try clearing cache and rerun setup:upgrade and di:compile

Nicatgenglobal commented 5 years ago

Thanks for your help. However no solution yet. Magento 2.3 has been released end of November. the bug history is limited of course.

after di:compile the error differs

Fatal error: Uncaught Error: Class 'MagePal\GmailSmtpApp\Block\Adminhtml\System\Config\Form\Module\Version' not found in /home/gengloba/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:116 Stack trace: #0 /home/gengloba/public_html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(108): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('MagePal\GmailSm...', Array) #1 /home/gengloba/public_html/vendor/magento/framework/ObjectManager/ObjectManager.php(56): Magento\Framework\ObjectManager\Factory\Compiled->create('MagePal\GmailSm...', Array) #2 /home/gengloba/public_html/vendor/magento/framework/View/Element/BlockFactory.php(46): Magento\Framework\ObjectManager\ObjectManager->create('MagePal\GmailSm...', Array) #3 /home/gengloba/public_html/vendor/magento/framework/View/Layout/Generator/Block.php(269): Magento\Framework\View\Element\BlockFactory->createBlock('MagePal\GmailSm...', Array) #4 /home/gengloba/public_html/vendor/magento/framework/View/Layout/Generator in /home/gengloba/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php on line 116

srenon commented 5 years ago

I will not be able to fix it without the ability to replicate it. The only recommendation I can provide is to open a paid support so that I can better review the issue