Sage theme giving error about object argument in illuminate\support\helpers.php

Hi @ben.turner thank you for your reply. That would make sense that this error only shows when we run the site in local and the production environment has no mention of this error. I have tried to var_dump and see the actual value being passed to htmlspecialchars() and it is indeed an object when it expects a string, so I suppose the same thing is happening on our production site and we just never noticed it. Thank you for pointing me to the Warnings Docs for local. I will try tinkering with our theme settings some more. I suppose for now, to prevent us from losing any more time on trying to fix this warning, I can just try to suppress the warning in Local as we do in production so I can get back to our other more important tasks.
Thanks again for your support!

1 Like