• I am getting this error on my website:
    PHP Fatal error: Cannot redeclare ABOptions() (previously declared in /2014/wp-content/themes/pinstripedprospectsresponsive/footer.php(18) : runtime-created function(1) : eval()’d code:6) in /2014/wp-content/themes/pinstripedprospectsresponsive/index.php(29) : runtime-created function(1) : eval()’d code on line 11

    The website is http://www.pinstripedprospects.com/

Viewing 3 replies - 1 through 3 (of 3 total)
  • what are the exact full codes of index.php and footer.php of your theme?

    http://codex.ww.wp.xz.cn/Forum_Welcome#Posting_Code

    Thread Starter rpimpsner

    (@rpimpsner)

    Footer:

    <?php wp_footer(); ?>
    <div id=”footer”>

    </div>
    </div>
    <div id=”bottom”>
    <?php /* Widgetized sidebar, if you have the plugin installed. */
    if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘footerleft’) ) : ?>
    <?php endif; ?>
    <?php /* Widgetized sidebar, if you have the plugin installed. */
    if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘footermiddle’) ) : ?>
    <?php endif; ?>

    <?php /* Widgetized sidebar, if you have the plugin installed. */
    if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘footerright’) ) : ?>
    <?php endif; ?>
    </div>
    </body>
    </html>

    ——————————
    Index:

    <?php get_header(); ?>

    <div id=”primary” class=”content-area”>
    <div id=”homepage”>
    <div id=”news”><?php echo do_shortcode(‘[advps-slideshow optset=”1″]’) ?>
    </div>
    <div id=”links”><?php /* Widgetized sidebar, if you have the plugin installed. */
    if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘links’) ) : ?>
    <?php endif; ?></div>
    <div id=”Hub”><?php /* Widgetized sidebar, if you have the plugin installed. */
    if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘tint’) ) : ?>
    <?php endif; ?></div>
    <div id=”ads”><?php /* Widgetized sidebar, if you have the plugin installed. */
    if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘ad1’) ) : ?>
    <?php endif; ?></div>
    <div id=”HomeFeature”>

    <?php /* Widgetized sidebar, if you have the plugin installed. */
    if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘ad3’) ) : ?>
    <?php endif; ?>
    </div>

    <div id=”ads2″><?php /* Widgetized sidebar, if you have the plugin installed. */
    if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘ad2’) ) : ?>
    <?php endif; ?></div>
    </div>
    </div><!– #primary –>
    <?php get_footer(); ?>

    Thread Starter rpimpsner

    (@rpimpsner)

    I forgot to tag it as code. I couldn’t delete it but here it is again the right way.

    Header

    <?php get_header(); ?>
    
    	<div id="primary" class="content-area">
        <div id="homepage">
    	<div id="news"><?php echo do_shortcode('[advps-slideshow optset="1"]') ?>
    </div>
        <div id="links"><?php 	/* Widgetized sidebar, if you have the plugin installed. */
    					if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('links') ) : ?>
    <?php endif; ?></div>
    <div id="Hub"><?php 	/* Widgetized sidebar, if you have the plugin installed. */
    					if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('tint') ) : ?>
    <?php endif; ?></div>
    <div id="ads"><?php 	/* Widgetized sidebar, if you have the plugin installed. */
    					if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('ad1') ) : ?>
    <?php endif; ?></div>
    <div id="HomeFeature">
    
    <?php 	/* Widgetized sidebar, if you have the plugin installed. */
    					if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('ad3') ) : ?>
    <?php endif; ?>
        </div>
    
    <div id="ads2"><?php 	/* Widgetized sidebar, if you have the plugin installed. */
    					if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('ad2') ) : ?>
    <?php endif; ?></div>
    </div>
    	</div><!-- #primary -->
    <?php get_footer(); ?>

    Footer

    <?php wp_footer(); ?>
    <div id="footer"> 
    
    </div>
    </div>
    <div id="bottom">
       <?php 	/* Widgetized sidebar, if you have the plugin installed. */
    					if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('footerleft') ) : ?>
    <?php endif; ?>
     <?php 	/* Widgetized sidebar, if you have the plugin installed. */
    					if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('footermiddle') ) : ?>
    <?php endif; ?>
    
       <?php 	/* Widgetized sidebar, if you have the plugin installed. */
    					if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('footerright') ) : ?>
    <?php endif; ?>
    </div>
    </body>
    </html>

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘PHP Fatal error: Cannot redeclare ABOptions()’ is closed to new replies.