I am building a child theme and it contains a functions.php with multiple hooks and filters. I have noticed that if i give the code some space in between other codes a slowdown occurs when I activate or deactivate plugins. I get a white blank screen so that I need to click the browsers back button. I have checked online and read that it is an error in WordPress causing this blank white screen.
I had to smack the code together and then take it all out and paste one code in at a time. In the end I was able to get it working just fine. Activating and deactivating plugins worked smoothly again. Just the next time I add new code I am worried that the error will begin acting up again.
I do hope there is a good solution to this. I would like to have a comment line between the code to make it better visually.
- The topic ‘Child theme functions.php and invisible characters causing errors.’ is closed to new replies.