• Resolved jonathanw

    (@jonathanw)


    I’m getting the following since I’ve moved my site to web host. Any help would be awesome. dwgroup.co.nz

    Fatal error: Call to undefined function wp_pagebar() in /home/dwgroupc/public_html/wp-content/themes/citydreams/page.php on line 21

    The code is as follows:

    <?php get_header(); ?>
    
    		<div id="wrap">
    <div class="box sml" id="blog">
    	<h2>
    
    	</h2>
    	<div>
    
            <?php if (have_posts()) : ?>
    
    			<?php while (have_posts()) : the_post(); ?>
    		<h3><?php the_title(); ?></h3>
    
                              <?php the_content('Weiterlesen &raquo;'); ?>
    
                  <?php endwhile; ?>
    	</div><?php wp_pagebar(array('before'=>'Seiten: '))?><?php else : ?>
    
    				<h2 class="center">Not Found</h2>
    				<p class="center">Sorry, but you are looking for something that isn't here.</p>
    				<?php endif; ?>
    </div>
    	</div>
    
    <?php get_footer(); ?>
Viewing 4 replies - 1 through 4 (of 4 total)
  • Well, looks like your code on line 21 is trying to call a function that somehow didn’t make it to your new server, ie. wp_pagebar().

    Did you overlook a file that had wp_pagebar() declared in it?

    is wp_pagebar from a plugin? If so, do you have that particular plugin installed and activated?

    Thread Starter jonathanw

    (@jonathanw)

    It’s really strange, everything on the web host is as on the localhost, there are no plugin’s installed anywhere and I can’t find another file with wp_pagebar declared anywhere.

    I have very limited knowlege of code and any help you guy have would be awesome. Removing or altering the line removes the issue but it also screws with the header.

    Thread Starter jonathanw

    (@jonathanw)

    UPDATE: it seems to be an issue when updating the sql tables with what was on the localhost.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fatal error issues’ is closed to new replies.