I am receiving below error while uploading any image for product.

Notice: A non well formed numeric value encountered in /var/www/sitename.com/vendor/magento/framework/Image/Adapter/Gd2.php on line 344

Is there anyone who receives same error?

  • Is GD library is installed in your environment – Murtuza Zabuawala Sep 13 '16 at 10:18
  • Yes, it is installed. – Ravi Bhalodia Sep 13 '16 at 12:09

Please, check php extension that are need it for M2. http://devdocs.magento.com/guides/v2.0/install-gde/system-requirements.html

in your case, maybe the problem is missing: gd, ImageMagick 6.3.7 (or later) or both

| improve this answer | |
  • I have confirmed that GD library is installed over server. Is there any other possibility for not working? – Ravi Bhalodia Sep 13 '16 at 12:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.