slightlyoff
asked on
WordPress not using localhost
Hello,
I'm getting this error: "Illegal string offset 'url' in C:\wamp\www\mywebsite\wp-c ontent\the mes\theme\ header.php on line 109"
Line 109 is
It seems as if home_url is pulling my absolute path - but I can't figure out why. I've looked through the database and files and everything seems to be set to localhost/mysite... any ideas on what might be going wrong?
Thanks for your help!!!
I'm getting this error: "Illegal string offset 'url' in C:\wamp\www\mywebsite\wp-c
Line 109 is
<a href="<?php echo esc_url( home_url( '/' ) ); ?>"><img alt="<?php bloginfo('name'); ?> | <?php bloginfo('description'); ?>" src="<?php if($themeOptions['logo']['url'] != "") echo $themeOptions['logo']['url']; else echo $logo; ?>"></a>
It seems as if home_url is pulling my absolute path - but I can't figure out why. I've looked through the database and files and everything seems to be set to localhost/mysite... any ideas on what might be going wrong?
Thanks for your help!!!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
is this a standard install with a built in theme or are you creating a theme?
ASKER
Thank you for your help! It was the logo. It wasn't set. Sorry for the delay in responding.
You're welcome. Glad I could help!