Title: Fatal error issues
Last modified: August 19, 2016

---

# Fatal error issues

 *  Resolved [jonathanw](https://wordpress.org/support/users/jonathanw/)
 * (@jonathanw)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-issues/)
 * 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)

 *  [rankbooster](https://wordpress.org/support/users/rankbooster/)
 * (@rankbooster)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-issues/#post-1362568)
 * 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?
 *  [Chris_K](https://wordpress.org/support/users/handysolo/)
 * (@handysolo)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-issues/#post-1362581)
 * is wp_pagebar from a plugin? If so, do you have that particular plugin installed
   and activated?
 *  Thread Starter [jonathanw](https://wordpress.org/support/users/jonathanw/)
 * (@jonathanw)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-issues/#post-1362833)
 * 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](https://wordpress.org/support/users/jonathanw/)
 * (@jonathanw)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-issues/#post-1362834)
 * 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.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 3 participants
 * Last reply from: [jonathanw](https://wordpress.org/support/users/jonathanw/)
 * Last activity: [16 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-issues/#post-1362834)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
