PHP Warning Illegal string offset

  • Unknown's avatar

    After a site migration I have a lot of small errors. One that debugger is picking up all over the site is:
    PHP Warning Illegal string offset ‘boating’ in /home/dh_8znkak/fhbeacon.org/wp-content/themes/eight-paper/inc/widgets/ep-widget-fields.php on line 135 (and Line 140)

    I find the following in my code, but frankly, this isn’t my forte and I don’t know what to do about it:

    $eight_paper_widget_field_value[$checkbox_option_name] = 0;
    }
    $eight_paper_random = ‘ep-‘.rand(‘0000′,’9999′).’-‘;
    ?>

    <input id='get_field_id( $checkbox_option_name ) ); ?>’ name=’get_field_name( $eight_paper_widgets_name ).'[‘.$checkbox_option_name.’]’ ); ?>’ type=’checkbox’ value=’1′ />

    The site has been really slow and buggy. I get WSOD a lot and have to retry loading pages.
    Thanks for your help!

    WP.com: Unknown
    Jetpack: Yes
    Correct account: Yes

    The blog I need help with is: (visible only to logged in users)

  • Hello there,

    fhbeacon.org is not hosted with us on WordPress.com, but using the open source WordPress software at another hosting provider. This is a bit different to a site hosted on WordPress.com. You can read about these differences here: https://en.support.wordpress.com/com-vs-org/

    For help with the issue faced, you would need to speak to the hosting provider or the theme developer.

    I hope this helps!

  • The topic ‘PHP Warning Illegal string offset’ is closed to new replies.