After upgrading to 1.8.11 the CMS is creating the media folder in the wrong location

After upgrading to 1.8.11 the CMS is creating the media folder in the wrong location

My installation is at this location:
public_html / mydomain.com / xibo /

In the settings I always put the address of the media folder like this:
media/

And the files have always gone to the correct location.
public_html / mydomain.com / xibo / web / media /

But now a media folder is being created at the root of my hosting.
public_html / media /

I tried to fix it by adding the full address to:
public_html / mydomain.com / xibo / web / media /

And the result was that the folder was created in:
public_html / mydomain.com / xibo / web / public_html / mydomain.com / xibo / web / media /

Does anyone know the reason?

SOLVED: