Warning: Illegal sting offset

Community Forums Forums General Discussion Warning: Illegal sting offset

This topic is: not resolved

This topic contains 13 replies, has 5 voices, and was last updated by  JulieMetzger 2 months ago.

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #101418

    JessiRue
    Participant
    Post count: 9

    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
    #101419

    Davinder Singh Kainth
    Participant
    Post count: 1240

    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


    Need website customization services or other Genesis / WordPress help ?
    Davinder @ Design Studio iGuiding Media | My Blog | Fresh Genesis Themes Collection

    #101538

    JessiRue
    Participant
    Post count: 9

    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.

    #101606

    Gary Jones
    Moderator
    Post count: 691

    Try re-saving the theme settings.


    Changes in Genesis 2.1 – the ultimate guide to every single change in Genesis Framework 2.1, 2.1.1 and 2.1.2 (all 90 of them!) | @GaryJ

    #110582

    jakester
    Participant
    Post count: 10

    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.

    #110668

    jakester
    Participant
    Post count: 10

    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.

    #110755

    Gary Jones
    Moderator
    Post count: 691

    Find

    genesis_home()

    somewhere in your theme, and change it to

    do_action( "genesis_home" );

    instead.


    Changes in Genesis 2.1 – the ultimate guide to every single change in Genesis Framework 2.1, 2.1.1 and 2.1.2 (all 90 of them!) | @GaryJ

    #110790

    jakester
    Participant
    Post count: 10

    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!

    • This reply was modified 3 months ago by  jakester. Reason: clarification
    • This reply was modified 3 months ago by  jakester. Reason: clarification
    #110864

    Gary Jones
    Moderator
    Post count: 691

    What version of Genesis are you running?


    Changes in Genesis 2.1 – the ultimate guide to every single change in Genesis Framework 2.1, 2.1.1 and 2.1.2 (all 90 of them!) | @GaryJ

    #110868

    jakester
    Participant
    Post count: 10

    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.

    #110869

    Gary Jones
    Moderator
    Post count: 691

    Do you have that Append Site Description (tagline) … checkbox checked?

    Have you saved the SEO settings page?


    Changes in Genesis 2.1 – the ultimate guide to every single change in Genesis Framework 2.1, 2.1.1 and 2.1.2 (all 90 of them!) | @GaryJ

    #110892

    jakester
    Participant
    Post count: 10

    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!

    #114472

    JulieMetzger
    Member
    Post count: 2

    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!

    #114473

    JulieMetzger
    Member
    Post count: 2

    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

Viewing 14 posts - 1 through 14 (of 14 total)

You must be logged in to reply to this topic.