cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2.1.1 installation error: call_user_func() expects parameter 1 to be a valid callback

Magento 2.1.1 installation error: call_user_func() expects parameter 1 to be a valid callback

Hello, I need a help for Magento 2.1.1 installation error.

 

I'm trying to install Magento 2.1.1 by using Setup Wizard.

But an error message appeared on the console log, and it said

 

[ERROR] exception 'Exception' with message 'Warning: call_user_func() expects parameter 1 to be a valid callback, function 'imagecreatefromjpeg' not found or invalid function name in /var/www/html/Magento-test/project-community-edition/vendor/magento/framework/Image/Adapter/Gd2.php on line 65' in /var/www/html/Magento-test/project-community-edition/vendor/magento/framework/App/ErrorHandler.php:61

 

Environment info:

CentOS 6

PHP 5.6.24

2 REPLIES 2

Re: Magento 2.1.1 installation error: call_user_func() expects parameter 1 to be a valid callback

I have the same issue, did you get this resolved somehow?

Re: Magento 2.1.1 installation error: call_user_func() expects parameter 1 to be a valid callback

I have the same issue:

[ERROR] Exception: Warning: call_user_func() expects parameter 1 to be a valid callback, function 'imagecreatefromjpeg' not found or invalid function name in /var/www/html/vendor/magento/framework/Image/Adapter/Gd2.php on line 65 in /var/www/html/vendor/magento/framework/App/ErrorHandler.php:61

 

 

Any tips on how to solve it?

 

I am using Ubuntu 16.04.2 LTS

Apache 2.4.18

PHP 7.0.15