• I am getting this warning:

    “Warning: Illegal string offset ‘desktop’ in /home/susanhop/public_html/wp-content/plugins/astra-widgets/classes/widgets/class-astra-widget-address.php on line 137”

    I have up to date WP, Theme, Plugins and PHP 7.0

    How can I fix this please?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Any update on this?
    I am having the exact issue – but my php is limited.

    Illegal string offset ‘desktop’ in \class-astra-widget-address.php on line 137
    Code is below with line 137 asterixed.

    Thank you

    <?php
    $widget_content_font_size = ’15’;
    if ( function_exists( ‘astra_get_option’ ) ) {
    $widget_content_font_size = astra_get_option( ‘font-size-widget-content’ );
    ****** $widget_content_font_size = $widget_content_font_size[‘desktop’];*****
    if ( ” === $widget_content_font_size ) {
    $widget_content_font_size = ’15’;
    }
    }
    ?

    Problem resolved after updating Astra Widget plugin.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Illegal String Warning “Astra Widgets” plugin’ is closed to new replies.