This looks like an issue with your init file. You can try bisecting it to find the culprit.
– Mar 10 '19 at 12:59
I can't see any error on my init file, it keeps happening even if I change the variable.
– m68kMar 10 '19 at 13:51
Something in your init file must be causing it, you should be able to find the error quickly by using binary search: https://emacs.stackexchange.com/a/13997/12563
– Mar 10 '19 at 14:01
As @DoMiNeLa10 suggested, please *bisect* your init file, recursively, restarting Emacs each time to narrow your init file to find the culprit. This is a binary search (1/2, 3/4, 7/8, 15/16...), so it is very quick to do.
– DrewMar 10 '19 at 19:01