Array to string conversion notice

Hi everyone,

I’m seeing the following notice after a new installation (NGinx, PHP 7.3):

Notice : Array to string conversion in /var/www/project/lib/DotEnv.php on line 50

This is due to the existence of $envs['argv'] which is an (empty) array.

Anyone else seen this before?

1 Like

Actually, this only occurs with NGinx, not with Apache.

Hey @mo6, think that would be better to open an issue in the official GitHub repo, Discourse is usually the place for more generic discussions.

Thanks @pauloamgomes. I wanted to know if anyone else encountered an issue with my setup. Now that we’ve concluded it is an issue it looks like that I can open een issue on the repo, although I have no solution yet.

Yeah, that is not happening on my setup, I’m using docker with nginx and php 7.3 images from wodby.

Hmmm, same here, although I don’t think it’s a PHP issue, rather a NGinx one. We’ll investigate further.

We use a setup where we have a NGinx docker container for a React frontend and a Apache docker container for Cockpit CMS.