Community Forums › Forums › Archived Forums › General Discussion › Warning: Illegal sting offset
Tagged: errors, troubleshoot, warnings
- This topic has 14 replies, 6 voices, and was last updated 10 years ago by
calielise.
-
AuthorPosts
-
April 20, 2014 at 7:57 am #101418
JessiRue
MemberWorking on a site and all was well while developing locally. When I moved to host server to test some things I started getting a HUGE list of errors. All started with:
Warning: Illegal string offset 'append_description_home' in /home/creative/public_html/mtsterling/wp-content/themes/genesis/lib/classes/sanitization.php on line 157
Warning: Illegal string offset 'append_description_home' in /home/creative/public_html/mtsterling/wp-content/themes/genesis/lib/classes/sanitization.php on line 159
Warning: Cannot modify header information - headers already sent by (output started at /home/creative/public_html/mtsterling/wp-content/themes/genesis/lib/classes/sanitization.php:157) in /home/creative/public_html/mtsterling/wp-includes/option.php on line 747
Warning: Cannot modify header information - headers already sent by (output started at /home/creative/public_html/mtsterling/wp-content/themes/genesis/lib/classes/sanitization.php:157) in /home/creative/public_html/mtsterling/wp-includes/option.php on line 748
I had added some custom widget functions and assumed I had messed something up. The widget areas showed up in the widget panel, and the area was present on the site, but not filled with the assigned css.
So, I deleted the custom widgets one by one trying to zero in on the problem and then deleted ALL plugins I had enabled. All errors are still showing up. I am lost as to where to look next.
Anyone else ran into this?
THANKS.
http://mtsterling.printandpixelcreative.comApril 20, 2014 at 8:03 am #101419Davinder Singh Kainth
MemberIf you were using simple sidebar plugin, then check this solution - http://wordpress.org/support/topic/warning-illegal-string-in-header-of-website
Related discussion here - http://stackoverflow.com/questions/9869150/illegal-string-offset-warning-php
Sunshine PRO genesis theme
Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis ThemesApril 20, 2014 at 4:33 pm #101538JessiRue
MemberThanks Davinder...appreciate the info.
I had checked the Debug line in the config.php
And i have looked at the arrays in my functions.php and can't find a discrepancy. I am at a lost. Especially since I have deleted all the plugins and custom add-ons in the functions.php file.
April 21, 2014 at 5:12 am #101606Gary Jones
MemberTry re-saving the theme settings.
WordPress Engineer, and key contributor the Genesis Framework | @GaryJ
June 19, 2014 at 11:25 am #110582jakester
ParticipantI'm having the exact same problem. Huge list of errors all stemming from wp-content/themes/genesis/lib/classes/sanitization.php on line 157 and line 159.
June 19, 2014 at 5:02 pm #110668jakester
ParticipantTurned debug on and I get this "Notice: genesis_home is deprecated since version 1.7.0! Use do_action( 'genesis_home' ) instead."
I'm using an old version of the Outreach theme.
June 20, 2014 at 3:59 am #110755Gary Jones
MemberFind
genesis_home()
somewhere in your theme, and change it to
do_action( "genesis_home" );
instead.
WordPress Engineer, and key contributor the Genesis Framework | @GaryJ
June 20, 2014 at 9:35 am #110790jakester
ParticipantOK great! That worked to get rid of the error code on the front page.
However, there's still a long list of error messages in the admin area - rendering the backend useless. They all come from sanitization.php line 157 & 159. It's not the type hint bug.
Warning: Illegal string offset ‘append_description_home’ in /wp-content/themes/genesis/lib/classes/sanitization.php on line 157
Warning: Illegal string offset ‘append_description_home’ in /wp-content/themes/genesis/lib/classes/sanitization.php on line 159
…and on and on
http://www.whatcomhumane.jakedouville.com/
I’m using an old version of the Outreach theme.
Thank you for looking into this!
June 20, 2014 at 5:31 pm #110864Gary Jones
MemberWhat version of Genesis are you running?
WordPress Engineer, and key contributor the Genesis Framework | @GaryJ
June 20, 2014 at 6:00 pm #110868jakester
ParticipantWordpress 3.9.1
Genesis 2.0.2
Outreach Child Theme 1.0.1I realize these errors are probably all because of the old Outreach theme - but I have an approved design using the old theme, so if there's anyway to fix it I'd be grateful.
June 20, 2014 at 6:04 pm #110869Gary Jones
MemberDo you have that Append Site Description (tagline) ... checkbox checked?
Have you saved the SEO settings page?
WordPress Engineer, and key contributor the Genesis Framework | @GaryJ
June 20, 2014 at 9:22 pm #110892jakester
ParticipantNice!
Saving the SEO settings page worked! I didn't need to check "Add Site Description (tagline)" checkbox.
All of the admin menu was missing because of the long list of errors - so I had to look for the SEO settings URL from a different install. But once I hit save and a quick browser refresh it was fixed.
Is there a way to have this "bug" fixed on a fresh install, without having to save the SEO settings? Like a simple line of code to add to the Functions Page? If not, no worries. Glad to have it working!
Thank You!
July 15, 2014 at 7:01 pm #114472JulieMetzger
MemberI am getting these like crazy when I activate a child theme. It really makes the admin page useless. What can I do. I didn't have any previous SEO settings. This was and is a brand new site. I am not sure what do do.
Help please!
July 15, 2014 at 7:05 pm #114473JulieMetzger
MemberHere is what the errors look like:
Warning: Illegal string offset 'wsm_home_moretext' in /home/paulincpa/webapps/wp/wp-content/themes/genesis/lib/classes/sanitization.php on line 171
Warning: Illegal string offset 'wsm_home_moretext' in /home/paulincpa/webapps/wp/wp-content/themes/genesis/lib/classes/sanitization.php on line 173
Warning: Illegal string offset 'wsm_home_morelink' in /home/paulincpa/webapps/wp/wp-content/themes/genesis/lib/classes/sanitization.php on line 171
Warning: Illegal string offset 'wsm_home_morelink' in /home/paulincpa/webapps/wp/wp-content/themes/genesis/lib/classes/sanitization.php on line 173
Warning: Illegal string offset 'wsm_copyright' in /home/paulincpa/webapps/wp/wp-content/themes/genesis/lib/classes/sanitization.php on line 171
Warning: Illegal string offset 'wsm_copyright' in /home/paulincpa/webapps/wp/wp-content/themes/genesis/lib/classes/sanitization.php on line 173
Warning: Illegal string offset 'wsm_contact_phone' in /home/paulincpa/webapps/wp/wp-content/themes/genesis/lib/classes/sanitization.php on line 171
Warning: Illegal string offset 'wsm_contact_phone' in /home/paulincpa/webapps/wp/wp-content/themes/genesis/lib/classes/sanitization.php on line 173
Warning: Illegal string offset 'wsm_home_tagline' in /home/paulincpa/webapps/wp/wp-content/themes/genesis/lib/classes/sanitization.php on line 171
Warning: Illegal string offset 'wsm_home_tagline' in /home/paulincpa/webapps/wp/wp-content/themes/genesis/lib/classes/sanitization.php on line 173
Warning: Illegal string offset 'wsm_contact_address' in /home/paulincpa/webapps/wp/wp-content/themes/genesis/lib/classes/sanitization.php on line 171
Warning: Illegal string offset 'wsm_contact_address' in /home/paulincpa/webapps/wp/wp-content/themes/genesis/lib/classes/sanitization.php on line 173
Warning: Cannot modify header information - headers already sent by (output started at /home/paulincpa/webapps/wp/wp-content/themes/genesis/lib/classes/sanitization.php:171) in /home/paulincpa/webapps/wp/wp-includes/pluggable.php on line 1121
February 11, 2015 at 6:10 pm #140548calielise
MemberI'm experiencing the very same issue that JulieMetzger is having. Any idea how to solve it?
-
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.