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 Sep 13, 2016 at 10:18
  • Yes, it is installed. Sep 13, 2016 at 12:09

1 Answer 1


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

  • I have confirmed that GD library is installed over server. Is there any other possibility for not working? Sep 13, 2016 at 12:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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