6 replies
I have just used a plugin called 'wordpress automatic update' and used it to upgrade the site.When I want to log back into the admin area it won't progress and also when the site is brought up it won't display fully and gives this message:

" Fatal error: Call to undefined function: adsensem_ad() in
/home/content/h/o/s/hostpal/html/othersites/flydrivestay.com/wp-content/themes/dream -destinations/index.php on line 6 "

If someone could help me to fix this I would really appreciate it. I have pasted the index.php from the site:

<?php get_header(); ?>

<div id="wrappinner">

<div id="main">
<?php adsensem_ad('ad-3'); ?>
<?php if (have_posts()) : ?>

<?php while (have_posts()) : the_post(); ?>

<div class="entryBox" id="post-<?php the_ID(); ?>">

<div class="title">
<h2>
<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>">
<?php the_title(); ?></a>
</h2>
</div><!-- end .title -->

<span class="date">
<?php the_time('F jS, Y') ?>
</span><!-- end .date-->

<div class="entry">
<?php the_content('Read the rest of this entry &raquo;'); ?>
</div><!-- end .entry -->

<div class="entryBottom">
<span>
Posted in <?php the_category(', ') ?> |
<?php edit_post_link('Edit', '', ' | '); ?>
<?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?>
</span>
</div><!-- end .entryBottom -->

</div><!-- end .entryBox -->

<?php endwhile; ?>

<div class="navigation">
<div class="alignleft"><?php next_posts_link('&laquo; Previous Entries') ?></div>
<div class="alignright"><?php previous_posts_link('Next Entries &raquo;') ?></div>
</div>

<?php else : ?>

<h3 class="response">Not Found</h3>
<p class="center">Sorry, but you are looking for something that isn't here.</p>


<?php endif; ?>

</div><!-- end #main -->

<?php get_sidebar(); ?>

</div><!-- end #wrappinner -->

<?php include (TEMPLATEPATH . '/sidebar2.php'); ?>


<?php get_footer(); ?>
#error #site
  • Profile picture of the author ofir
    Banned
    The error meanings that there is a call to a function that not exists.
    Check if you named it right.

    adsensem_ad('ad-3');
    {{ DiscussionBoard.errors[142730].message }}
    • Profile picture of the author mistyone
      Hi there

      Thank you for responding to my plea for help

      I never did anything other than use the plugin to upgrade the site. I have limited ability to fix this so if you could, if possible, give me more guidance on how to correct it, that would be very much appreciated .

      I am faced with the problem that I can't do anything in the site itself as it won't let me login. Everytime I click login it won't move past the login page and I know little about what I am looking at in the actual website files in my hosting. Where would I look to see if the adsense ad is labeled as you have said and if I can fix this will it then allow me to login?

      Cheers
      Viv
      {{ DiscussionBoard.errors[142743].message }}

Trending Topics