jQuery in functions.php causes "header already sent" error
I know I’m doing something wrong here. I have 2 jquery plugins that I have in my functions.php file. There, the links for the jquery plugins are sent to the header via action hooks.
The problem is I get this error when loggin in or out of admin page:
Warning: Cannot modify header information – headers already sent by (output started at /file-root/wp-content/themes/toolbox/functions.php:108) in /file-root/wp-login.php on line 353
Here’s my code in the functions.php file:
- The topic ‘jQuery in functions.php causes "header already sent" error’ is closed to new replies.