Stef, please download your source code and check it again, maybe my php version is doing some other things than it should or maybe I have a virus on my laptop. Please let me know if it works fine. My php version is "PHP Version 7.2.15-0ubuntu0.18.04.2". My Ubuntu OS sends me messages every time I turn it on System Error or so.
Please see the attached source file. (not modified at all)
It seems I can`t reply to this post anymore...