Frage

An abstract factory could not create an instance of magentoframeworkappdeploymentconfig(alias: Magento\Framework\App\DeploymentConfig).

Above error appears on di compile, cache clean etc.

I am not sure why this error appearing.

Is their any fix for this?

War es hilfreich?

Lösung

It was php version issue, magento 2.3.5-p1 requires 7.3 php version, in system it was 8.0.

Setting php version 7.3, solves the error.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit magento.stackexchange
scroll top