It was a fresh Installation on localhost
I zipped the root files after having the database installation in the localhost, and the zipped file had all the folders shown in the above picture except for logs
and formatter
.
Then I unzipped the file on server, (also did the database creation), removed config.php
, proceeded with Installation and the error showed up.
And as far as the localhost, I don't know how but later formatter
was created, as I was constantly enabling extensions, running migrate and clearing cache