Compile error using Magento2 Extension

Posted in General by VideoLinks Sat Sep 23 2017 08:36:59 GMT+0000 (UTC)·1·Viewed 526 times

Just downloaded and did a composer install of the Magento2 extension followed by a setup-upgrade as explained at: But when I compile, I get the following error: Fatal error: Cannot declare class CurlException, because the name is already in use in /var/www/html/vendor/instamojo/instamojo-magento-2/lib/CurlException.php on line 25 Segmentation fault (core dumped) More details: Magento version: 2.1.3 CE Mode: Developer mode (for this update) Hosting: AWS-EC2
Gnanabai Vinodha
Nov 27, 2017

Even I had the same error
I deleted the contents inside pub>>static>> directory except the .htaccess file
then delete content inside var >> view_preproccessed >> delete all the folders
and run php bin/magento setup:static-content:deploy
now you reload your site.
It worked for me. !

Markdown is allowed