@ Beth
The version of PHP your web host is running and old unsupported and possibly insecure version of PHP. I suspect the version you are running is 5.2 which has not been supported for many years now. I’d ask them to update it. WordPress recommends 7.2. I would recommend 7.1 as 7.2 was just released so plugins may not yet be 100% compatible.
That said, I do try to avoid using modern features in PHP for the broadest compatibility.
I actually do not even have the ability to test in such an old version any longer. If you can give me a WP admin login and a FTP login I’ll be able to apply and test an alternative to the array_replace() function. This is basic PHP function introduced in version 5.3 and it is function I now need to use. I might be able to add and use a backward compatible version.
The details can be posted here as a private reply.
