Call to undefined function mysqli_report()

Call to undefined function mysqli_report()

/var/www/html/pub/ub-tool/protected/controllers/Step1Controller.php(25)

I have installed the UB Data Migration Pro on my Magento 2.2.3 (PHP 7.0.12 on Nginx) installation and I get the error above after I enter my database parameters and hit “Save & Continue”.
I’ve installed mysqli and it appears to be working, but it seems like there is some incompatibility.  Can you confirm either way?

3 answers

Profile photo of Mall Staff 184060.00 $tone August 23, 2018
Public

Hi there,

Call to undefined function mysqli_report()

That issue relates to your MySQL settings. Let’s contact to hosting provider to change MySQL setting to enable the mysqli extension.
You could view more information about that in this post: https://stackoverflow.com/questions/17024036/what-causes-a-fatal-error-call-to-undefined-function-mysqli-report
Once done, you could continue with our migration tool.
Regards,
Mall.

#1
Profile photo of sean_baran 10.00 $tone August 23, 2018
Public

I’m in a Docker environment -- yes, running in production. I resolved the issue by adding the following line to my Dockerfile:
RUN docker-php-ext-install mysqli
and then rebuilding the container
docker-compose build
and then restarting all containers
docker-compose up -d
 
Thank you for your help.
Sean

#2
Profile photo of Mall Staff 184060.00 $tone August 23, 2018
Public

Hi there,
Yeah, let’s continue with migration data steps of our tool. And contact me if you need further assistance.
Regards,
Mall.

#3

Please login or Register to Submit Answer

Written By

Comments