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’);
if($title<>”){?>
<div class=”banner_text blurb”>
<h2><?=$title;?></h2>
</div>
<? } ?>
</div>
<? } ?>