Add this code on line # 55 in config.php
$_GET[‘wp-root’] = $_SERVER[‘DOCUMENT_ROOT’].’/’;
If you are using sub folder for example in localhost then add directory name also
$_GET[‘wp-root’] = $_SERVER[‘DOCUMENT_ROOT’].’/yourdirectoryname/’;
I hope it will help.
Canfiax, you did really great job. Thanks
I found this error after installation wp-root” is not defined via $_GET
Given below is the fix:
Add this code on line # 55 in config.php
$_GET[‘wp-root’] = $_SERVER[‘DOCUMENT_ROOT’].’/’;
If you are using sub folder fo example in localhost then add directory name also
$_GET[‘wp-root’] = $_SERVER[‘DOCUMENT_ROOT’].’/yourdirectoryname/’;
I hope it will help.