Hi, factor authentication isn’t working. I haven’t been able to fix the problem. I’m several days behind schedule because of it. I’m wondering if Scriptcase tests its features before publishing them.
Hi @alexsevilla00,
This is a bug in Scriptcase, not something you did wrong. The array_merge() function is receiving null instead of an array — this happens when the 2FA configuration doesn’t return the expected data structure.
Two options:
-
Quick fix — Edit
phpinm_api.php(line 888) and add null coalescing: changearray_merge($a, $b)toarray_merge($a, $b ?? []). Apply the same pattern to lines mentioned in the stack trace. -
Proper fix — Open a support ticket with Scriptcase and ask for a hotfix. This is clearly a regression in 9.13.017.
I’d also recommend temporarily disabling 2FA until the fix is released, if that’s an option for your environment.
Good luck!
