Sort:  

It seems that the problem with the config file is not with the witness, but with the miner line below it...

You need to add the [ and ] for the miner settings, take a look at that step of the guide again.

I commented on cryptos link.