Warning errors upon theme activation
August 14, 2014 at 09:58 #21634
I activated the United theme in a fresh WordPress install and when I activate the theme I get the following errors:
Warning: _() expects exactly 1 parameter, 2 given in /home/content/20/6932020/html/lighthouse/wp-content/themes/united/includes/custom-meta-boxes/united.php on line 30
Warning: Cannot modify header information – headers already sent by (output started at /home/content/20/6932020/html/lighthouse/wp-content/themes/united/includes/custom-meta-boxes/united.php:30) in /home/content/20/6932020/html/lighthouse/wp-includes/option.php on line 747
Warning: Cannot modify header information – headers already sent by (output started at /home/content/20/6932020/html/lighthouse/wp-content/themes/united/includes/custom-meta-boxes/united.php:30) in /home/content/20/6932020/html/lighthouse/wp-includes/option.php on line 748
If I try installing another theme of yours or a free theme, the errors will go away. What would be causing these errors with the United theme and how do I fix it?
Thanks.August 14, 2014 at 10:16 #21635
Sorry for the trouble there. Here’s what I would suggest trying.
- Go to the Updates section in your WordPress control panel and update WordPress. If you’re already using WordPress 3.9.2, then click the button to reinstall it. It won’t affect your content, but it will make sure the core files are correct.
- If that still doesn’t do the trick, then deactivate all your plugins before installing the theme. If it installs then you can activate the plugins one by one again.
If either of those don’t bring about a solution, let me know and if possible send over the URL to your site and login so I can take a closer look for you. You can mark a reply here as private and I’ll be the only one who can see it.
BillAugust 14, 2014 at 11:54 #21637This reply has been marked as private.August 14, 2014 at 12:22 #21638
Thank you for sending over the login. I changed that line of code and that seems to have taken care of the error you were seeing. I’ll make an update to the theme make sure that doesn’t happen to anyone else.
If you have any other questions or trouble, just let me know.
BillAugust 14, 2014 at 12:26 #21639
Awesome! Thanks Bill. Great support!
SteveAugust 14, 2014 at 12:27 #21640
I’m glad that did the trick. Have a great afternoon Steve 🙂
The topic ‘Warning errors upon theme activation’ is closed to new replies.