doctordew
05-23-2008, 09:42 PM
There is an error in my blog roll for my blog. I took a premade layout because I didn't want to put the money into a layout right away, and because I can't code php myself. There is a tiny error in it though. The blog roll is messed up.
If you would like to see the error itself the blog is at www.tryingtoblog.com
"Warning: Invalid argument supplied for foreach() in /home/jaremuy7/public_html/wp-content/themes/BizFresh/ads.php on line 3"
<div id="sidebar2">
<div class="xboxcontent">
<ul>
<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(2) ) : else : ?>
<li>
<h2 class="sidebartitle"><?php _e('Categories'); ?></h2>
<ul class="list-cat">
<?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0'); ?>
</ul>
</li>
<li>
<h2 class="sidebartitle"><?php _e('Blogroll'); ?></h2>
<ul class="list-blogroll">
<?php get_links('-1', '<li>', '</li>', '<br />', FALSE, 'id', FALSE, FALSE, -1, FALSE); ?>
</ul>
</li>
<?php endif; ?>
</ul>
<div id="googlepro">
<?php include (TEMPLATEPATH . "/ads.php"); ?>
</div>
</div>
</div>
If you would like to see the error itself the blog is at www.tryingtoblog.com
"Warning: Invalid argument supplied for foreach() in /home/jaremuy7/public_html/wp-content/themes/BizFresh/ads.php on line 3"
<div id="sidebar2">
<div class="xboxcontent">
<ul>
<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(2) ) : else : ?>
<li>
<h2 class="sidebartitle"><?php _e('Categories'); ?></h2>
<ul class="list-cat">
<?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0'); ?>
</ul>
</li>
<li>
<h2 class="sidebartitle"><?php _e('Blogroll'); ?></h2>
<ul class="list-blogroll">
<?php get_links('-1', '<li>', '</li>', '<br />', FALSE, 'id', FALSE, FALSE, -1, FALSE); ?>
</ul>
</li>
<?php endif; ?>
</ul>
<div id="googlepro">
<?php include (TEMPLATEPATH . "/ads.php"); ?>
</div>
</div>
</div>