PaystackHQ / plugin-magento-2

Paystack Plugin for Magento 2
MIT License
6 stars 14 forks source link

Fatal Error Message During Installation.. #42

Closed OlSaid closed 4 years ago

OlSaid commented 5 years ago

Hello, Please see below error message and please assist in how it can be resolved.

Fatal error: Uncaught TypeError: Return value of Magento\InventoryComposerInstaller\Plugin_composer_tmp1::initModuleDeployment() must be an instance of Magento\InventoryComposerInstaller\void, none returned in phar:///opt/cpanel/composer/bin/composer/src/Composer/Plugin/PluginManager.php(195) : eval()'d code:69 Stack trace:

0 [internal function]: Magento\InventoryComposerInstaller\Plugin_composer_tmp1->initModuleDeployment(Object(Composer\Script\Event))

1 phar:///opt/cpanel/composer/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php(176): call_user_func(Array, Object(Composer\Script\Event))

2 phar:///opt/cpanel/composer/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php(96): Composer\EventDispatcher\EventDispatcher->doDispatch(Object(Composer\Script\Event))

3 phar:///opt/cpanel/composer/bin/composer/src/Composer/Installer.php(204): Composer\EventDispatcher\EventDispatcher->dispatchScript('pre-update-cmd', true)

4 phar:///opt/cpanel/composer/bin/composer/src/Composer/Command/RequireCommand.php(18 in phar:///opt/cpanel/composer/bin/composer/src/Composer/Plugin/PluginManager.php(195) : eval()'d code on line 69

PS: following the guide as seen here: https://paystack.helpscoutdocs.com/article/88-how-to-setup-paystack-on-magento-2

steveamaza commented 5 years ago

At what stage did this happen? What was the last command you ran? Can you show a screenshot of the error too?

OlSaid commented 5 years ago

Hello,

Thank you for the updates,

Somehow we have been able to install the paystack extension on magento 2.

However, it does not redirect to success page.

Is there any recommendation you have as regards how to resolve this issue without having to go through composer.

PS - We have tried your github process and it does not work. you might want to check on your control environment.

Please let us know if you have any manual code recommendation to allow redirection to success pasge possible with magento 2.

Thank you and look forward to reading from you at your earliest convenience.

Warmest Regards, http://saidolanrewaju.com

Contact Details & Affiliated URLS

On Fri, Sep 13, 2019 at 9:24 AM Stephen Amaza notifications@github.com wrote:

At what stage did this happen? What was the last command you ran? Can you show a screenshot of the error too?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/PaystackHQ/plugin-magento-2/issues/42?email_source=notifications&email_token=AKQ2NWTANBALTBHCQYCKPQDQJNE2BA5CNFSM4IWLJ3LKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6UKXKQ#issuecomment-531147690, or mute the thread https://github.com/notifications/unsubscribe-auth/AKQ2NWURCTMYNCF7ZVDHK3TQJNE2BANCNFSM4IWLJ3LA .

steveamaza commented 5 years ago

Hi there, please use composer. This is a requirement from magento

On Fri, 13 Sep 2019, 09:41 OlSaid, notifications@github.com wrote:

Hello,

Thank you for the updates,

Somehow we have been able to install the paystack extension on magento 2.

However, it does not redirect to success page.

Is there any recommendation you have as regards how to resolve this issue without having to go through composer.

PS - We have tried your github process and it does not work. you might want to check on your control environment.

Please let us know if you have any manual code recommendation to allow redirection to success pasge possible with magento 2.

Thank you and look forward to reading from you at your earliest convenience.

Warmest Regards, http://saidolanrewaju.com

Contact Details & Affiliated URLS

https://app.hubspot.com/meetings/saidolanrewaju https://share.hsforms.com/1-OCO9MwuT3ib3brR6zHgqw1lq7s

On Fri, Sep 13, 2019 at 9:24 AM Stephen Amaza notifications@github.com wrote:

At what stage did this happen? What was the last command you ran? Can you show a screenshot of the error too?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/PaystackHQ/plugin-magento-2/issues/42?email_source=notifications&email_token=AKQ2NWTANBALTBHCQYCKPQDQJNE2BA5CNFSM4IWLJ3LKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6UKXKQ#issuecomment-531147690 , or mute the thread < https://github.com/notifications/unsubscribe-auth/AKQ2NWURCTMYNCF7ZVDHK3TQJNE2BANCNFSM4IWLJ3LA

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/PaystackHQ/plugin-magento-2/issues/42?email_source=notifications&email_token=ADY3IO7IFE4COSVW3HBDO7DQJNG45A5CNFSM4IWLJ3LKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6UMDCY#issuecomment-531153291, or mute the thread https://github.com/notifications/unsubscribe-auth/ADY3IO7HYT6U6B25CTDVXFDQJNG45ANCNFSM4IWLJ3LA .