Thanks for your reply.
I've updated to 3.5.1 and it seems to work fine, the error message is no longer appearing after somes test.
For the config file error, this is my macro call to turn on a led strip. Here again, this error disappeared with the update.
What an idiot, I should have started by updating.
So, everything is fine now, thanks anyway.