I'm currently working with PHP version 7.1.7 on OS High Sierra. It seems Spyc is not able to read the variables in the config.yml file. Following the documentation I been trying to set the API Key for Google Analytics. This is what my composer.json file looks like:
I'm currently working with PHP version 7.1.7 on OS High Sierra. It seems Spyc is not able to read the variables in the config.yml file. Following the documentation I been trying to set the API Key for Google Analytics. This is what my
composer.json
file looks like:I created the file mu-plugins/mu-autoloader.php as stated in the documentation of
wp-config
mu-plugins/mu-autoloader.php
When I browsed to
localhost:8000
it shows the following error message:Which is produced in the following line:
When I remove
mu-autoloader.php
file I'm able to load the page on the browser but without the environment being read by the following template: