Well, I have an error that I can not find the solution. I have two hosting in the same place Hostgator, in a hosting my application is all right and working. But I needed to migrate the application to another address, in other words I migrated to a Subdomain, until then ok.
After I migrated I realized I was giving the following error:
$arr = [];
So I changed the declaration to
$arr = array();
This way it worked in parts, but I realized that you are giving an error in this type of statement, why?
Another problem is being in this next item:
Parse error: syntax error, unexpected '[', expecting ')' in /
In line with this error is the following statement:
if(!empty($ClientesRef->getNome()[0]))
I check if the first position of the array saved in this method is different from empty, I started to see the error only when I migrated to the Sub-domain.
Has anyone ever gone through this and can you help me?
Thank you!