Non-static method Advert::getInfosConfigType() cannot be called statically