• So if i make a post and then click the category link, i get this error at the bottom of the page
    Page in question
    Fatal error: Call to undefined function firsttheme_posted_on() in /home/content/18/7686118/html/wordpress/wp-content/themes/firsttheme/loop.php on line 145

    now i can remove the code from my loop.php file and the error goes away and everything works fine…
    this is the code i remove

    <div class="entry-meta">
    				<?php firsttheme_posted_on(); ?>
    			</div><!-- .entry-meta -->

    what i want to know is what this string of code is trying to get, why im getting the error and is it an important line of code..

    thanks to whoever has an answer for me

Viewing 2 replies - 1 through 2 (of 2 total)
  • firsttheme_posted_on looks like a custom function that came with your theme. It is not a standard WordPress function. Check the functions.php file of your theme to see if the function name has been mis-typed.

    Thread Starter OFGC

    (@ofgc)

    thanks for the response transom…
    i have put together my own basic theme using this tutorial here
    https://thethemefoundry.com/blog/html-wordpress/

    my loop.php file i just copied over from the twentyten theme…
    and i actually do not have a functions.php installed at the moment so maybe thats the issue..

    edit*
    that “firsttheme_posted_on” did read “twentyten_posted_on”

    i changed it when i first got the error first occured, thinking it was maybe a theme name issue.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error on page, Requires Removal of Code’ is closed to new replies.