Error: Array to string conversion

Marcos there was a suggestion/solution from @patrick
It worked for me.
Please check if works for you also