Home Forums General Issues Warning: Illegal string offset 'url' issue


Warning: Illegal string offset 'url' issue

  • Getting this issue across all of my headers. I am likely not the person who needs to fix this but unfortunately, there is no one else!

    Warning: Illegal string offset ‘url’ in /home3/maderan/public_html/wp-content/themes/wealthharbor/headerbanner.php on line 3

    I think I have found the offending code but no idea how to fix this. Please help!

    <?php $image = get_field(‘header_image’); ?>
    <? if($image[‘url’]<>”){?>
    <div id=”page_banner”>
    <? $title = get_field(‘header_title’);
    <div class=”banner_text blurb”>
    <? } ?>
    <? } ?>

Viewing 1 post (of 1 total)

The topic ‘Warning: Illegal string offset 'url' issue’ is closed to new replies.