Instamojo / instamojo-magento-2

MIT License
1 stars 8 forks source link

Issue in Compilation #8

Closed rsidhaarth closed 6 years ago

rsidhaarth commented 6 years ago

Hi All,

Executing this command gives the below error "php -f bin/magento setup:di:compile"

root@localhost:/srv/users/public# php -f bin/magento setup:di:compile Compilation was started. Repositories code generation... 1/7 [====>-----------------------] 14% 1 sec 46.0 MiBPHP Fatal error: Cannot declare class CurlException, because the name is already in use in /srv/users/public/vendor/instamojo/instamojo-magento-2/lib/CurlException.php on line 25

Fatal error: Cannot declare class CurlException, because the name is already in use in /srv/users/public/vendor/instamojo/instamojo-magento-2/lib/CurlException.php on line 25

ashwch commented 6 years ago

Could you please try clearing var/generation folder folder and then run php bin/magento cache:flush. Now try running php -f bin/magento setup:di:compile again.

rsidhaarth commented 6 years ago

Hi,

I tried it and it doesn’t work. I am using PHP 7.0.23

Thanks

From: Ashwini Chaudhary [mailto:notifications@github.com] Sent: Thursday, September 28, 2017 11:03 PM To: Instamojo/instamojo-magento-2 instamojo-magento-2@noreply.github.com Cc: rsidhaarth siddharthramakrishnan@live.com; Author author@noreply.github.com Subject: Re: [Instamojo/instamojo-magento-2] Issue in Compilation (#8)

Could you please try clearing var/generation folder folder and then run php bin/magento cache:flush. Now try running php -f bin/magento setup:di:compile again.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Instamojo/instamojo-magento-2/issues/8#issuecomment-332908604, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AQE0uIUKBJVyR4XXIS7Q4buuYeDAaMrfks5sm9hHgaJpZM4Pk4SG.