admin管理员组文章数量:1122832
I'm creating a new WordPress site but I'm hitting a WSoD when trying to access wp-admin. The only error present in all of the logs is PHP Warning: Undefined array key "VirtualHostSubMenu" in C:\wamp64\www\index.php on line 52 and is present in the PHP logs. I have checked the httpd syntax and all the present logs. I haven't modified the index.php file at all. It is exactly as I recieved it in the WordPress.zip I received when I downloaded it this morning.
What should I do?
I'm creating a new WordPress site but I'm hitting a WSoD when trying to access wp-admin. The only error present in all of the logs is PHP Warning: Undefined array key "VirtualHostSubMenu" in C:\wamp64\www\index.php on line 52 and is present in the PHP logs. I have checked the httpd syntax and all the present logs. I haven't modified the index.php file at all. It is exactly as I recieved it in the WordPress.zip I received when I downloaded it this morning.
What should I do?
Share Improve this question asked Jan 9, 2024 at 20:57 ElijahElijah 11 Answer
Reset to default 0I managed to resolve this by enabling the 'VirtualHostSubMenu' parameter in add_vhost.php file in the 'www' folder:
$wampConf['VirtualHostSubMenu'] : "on";
本文标签: errorsPHP Warning Undefined array key quotVirtualHostSubMenuquot in indexphp
版权声明:本文标题:errors - PHP Warning: Undefined array key "VirtualHostSubMenu" in index.php 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736303568a1931933.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论