Warning: foreach() argument must be of type array|object, bool given in EntityUrlGenerator->generate() (line 219)