07-20-2023, 02:08 PM
I am fairly new to git and I am looking to clone a repo to XAMPP.
From what I understand I should be able to just clone it to HTDOCS and it should work if all the dependencies are installed.
I get this error message when I visit the project folder in my browser.
> Fatal error: Uncaught Error: Call to a member function init() on null
> in C:\xampp\htdocs\sandbox\craft\app\services\CacheService.php:114
> Stack trace: #0
> C:\xampp\htdocs\sandbox\craft\app\framework\base\CModule.php(394):
> Craft\CacheService->init() #1
> C:\xampp\htdocs\sandbox\craft\app\etc\web\WebApp.php(595):
> CModule->getComponent('cache', true) #2
> C:\xampp\htdocs\sandbox\craft\app\framework\base\CModule.php(103):
> Craft\WebApp->getComponent('cache') #3
> C:\xampp\htdocs\sandbox\craft\app\services\ConfigService.php(392):
> CModule->__get('cache') #4
> C:\xampp\htdocs\sandbox\craft\app\services\HttpRequestService.php(1181):
> Craft\ConfigService->usePathInfo() #5
> C:\xampp\htdocs\sandbox\craft\app\services\HttpRequestService.php(131):
> Craft\HttpRequestService->getNormalizedPath() #6
> C:\xampp\htdocs\sandbox\craft\app\framework\base\CModule.php(394):
> Craft\HttpRequestService->init() #7
> C:\xampp\htdocs\sandbox\craft\app\etc\web\WebApp.php(595):
> CModule->getComponent('request', true) #8
> C:\xampp\htdocs\sandbox\craft\app\framework\base\CMo in
> C:\xampp\htdocs\sandbox\craft\app\services\CacheService.php on line
> 114
I know this a vague question but I'd appreciate any help.
Thank you
From what I understand I should be able to just clone it to HTDOCS and it should work if all the dependencies are installed.
I get this error message when I visit the project folder in my browser.
> Fatal error: Uncaught Error: Call to a member function init() on null
> in C:\xampp\htdocs\sandbox\craft\app\services\CacheService.php:114
> Stack trace: #0
> C:\xampp\htdocs\sandbox\craft\app\framework\base\CModule.php(394):
> Craft\CacheService->init() #1
> C:\xampp\htdocs\sandbox\craft\app\etc\web\WebApp.php(595):
> CModule->getComponent('cache', true) #2
> C:\xampp\htdocs\sandbox\craft\app\framework\base\CModule.php(103):
> Craft\WebApp->getComponent('cache') #3
> C:\xampp\htdocs\sandbox\craft\app\services\ConfigService.php(392):
> CModule->__get('cache') #4
> C:\xampp\htdocs\sandbox\craft\app\services\HttpRequestService.php(1181):
> Craft\ConfigService->usePathInfo() #5
> C:\xampp\htdocs\sandbox\craft\app\services\HttpRequestService.php(131):
> Craft\HttpRequestService->getNormalizedPath() #6
> C:\xampp\htdocs\sandbox\craft\app\framework\base\CModule.php(394):
> Craft\HttpRequestService->init() #7
> C:\xampp\htdocs\sandbox\craft\app\etc\web\WebApp.php(595):
> CModule->getComponent('request', true) #8
> C:\xampp\htdocs\sandbox\craft\app\framework\base\CMo in
> C:\xampp\htdocs\sandbox\craft\app\services\CacheService.php on line
> 114
I know this a vague question but I'd appreciate any help.
Thank you