I've exported the database from the live website, imported the database export into local mampserver phpMyAdmin, downloaded the files from the live website, unzipped them into local vhost directory, edited /webroot/config.core.php & /webroot/core/config/config.inc.php with new paths to folders and base URL.
I've created the vhost, restarted Apache, added a hosts file entry.
When I load the local URL, I receive the error:
Fatal error: Uncaught Error: Call to a member function processElementTags() on null in /Applications/AMPPS/www/old.insightdesign.local/core/model/modx/modresponse.class.php:83 Stack trace: #0 /Applications/AMPPS/www/old.insightdesign.local/core/model/modx/modrequest.class.php(145): modResponse->outputContent(Array) #1 /Applications/AMPPS/www/old.insightdesign.local/core/model/modx/modrequest.class.php(129): modRequest->prepareResponse() #2 /Applications/AMPPS/www/old.insightdesign.local/core/model/modx/modx.class.php(1404): modRequest->handleRequest() #3 /Applications/AMPPS/www/old.insightdesign.local/index.php(69): modX->handleRequest() #4 {main} thrown in /Applications/AMPPS/www/old.insightdesign.local/core/model/modx/modresponse.class.php on line 83
Line 80 - 84 of /core/model/modx/modresponse.class.php is:
/* collect any uncached element tags in the content and process them */
$this->modx->getParser();
$maxIterations= intval($this->modx->getOption('parser_max_iterations', $options, 10));
$this->modx->parser->processElementTags('', $this->modx->resource->_output, true, false, '[[', ']]', array(), $maxIterations);
$this->modx->parser->processElementTags('', $this->modx->resource->_output, true, true, '[[', ']]', array(), $maxIterations);
Help appreciated.
Steve