当我尝试打开(localhost/wordpress)时遇到这个问题 显示此错误
我在使用 Magento 2.4.2 时也遇到了同样的问题。以下解决方法对我有用。
第1步:将根目录设置为“magento2/pub”
转到文件 C:\xampp pach