Migration/StepsController.php [Line 189] => Undefined variable: completeService

Iam getting the following error when trying to migrate
[2021-05-20 21:24:36] production.ERROR: ErrorException [0] : */app/Http/Controllers/Migration/StepsController.php [Line 189] => Undefined variable: completeService {“context”:“PHP”,“user_id”:1,“account_id”:1,“user_name”:"*****",“method”:“POST”,“user_agent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36”,“locale”:“en”,“ip”:“”,“count”:7,“is_console”:“no”,“is_api”:“no”,“db_server”:“mysql”,“url”:“migration/companies”} []

Any ideas?


Which version of v4 are you using?

I’m using version 4.5.39

Thanks! @david do you have any ideas?

Just to give you some background. I was trying to do the migration on my customers server and It kept timing out, even with max_execution_time set to 10000.
So I installed v4 on a different server (v4.5.39) and transferred the database dump. I just checked the old server it is 4.5.38 (latest version on softaculous), not sure if this could be the cause of the issue.

@davd just want to make sure you didn’t miss this one…