[Solved] Phpstorm doesn’t know how to run WordPress
You are directly calling theme’s index file which is not correct way, as your theme must be using some default functions of WordPress, like get_header() in this case. So you need to make sure wp-load.php is loaded to make all WP functions available to use. You have two way for that: 1) Call root index.php … Read more