• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Warning: Illegal sting offset

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Warning: Illegal sting offset

This topic is: not resolved

Tagged: errors, troubleshoot, warnings

  • This topic has 14 replies, 6 voices, and was last updated 10 years, 4 months ago by calielise.
Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • April 20, 2014 at 7:57 am #101418
    JessiRue
    Member

    Working 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.com
    April 20, 2014 at 8:03 am #101419
    Davinder Singh Kainth
    Member

    If 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 Themes

    April 20, 2014 at 4:33 pm #101538
    JessiRue
    Member

    Thanks 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 #101606
    Gary Jones
    Member

    Try re-saving the theme settings.


    WordPress Engineer, and key contributor the Genesis Framework | @GaryJ

    June 19, 2014 at 11:25 am #110582
    jakester
    Participant

    I'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 #110668
    jakester
    Participant

    Turned 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 #110755
    Gary Jones
    Member

    Find

    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 #110790
    jakester
    Participant

    OK 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 #110864
    Gary Jones
    Member

    What version of Genesis are you running?


    WordPress Engineer, and key contributor the Genesis Framework | @GaryJ

    June 20, 2014 at 6:00 pm #110868
    jakester
    Participant

    Wordpress 3.9.1
    Genesis 2.0.2
    Outreach Child Theme 1.0.1

    I 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 #110869
    Gary Jones
    Member

    Do 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 #110892
    jakester
    Participant

    Nice!

    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 #114472
    JulieMetzger
    Member

    I 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 #114473
    JulieMetzger
    Member

    Here 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 #140548
    calielise
    Member

    I'm experiencing the very same issue that JulieMetzger is having. Any idea how to solve it?

  • Author
    Posts
Viewing 15 posts - 1 through 15 (of 15 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble