The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Error on page, Requires Removal of Code (3 posts)

  1. OFGC
    Posted 5 years ago #

    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

  2. transom
    Posted 5 years ago #

    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.

  3. OFGC
    Posted 5 years ago #

    thanks for the response transom...
    i have put together my own basic theme using this tutorial here

    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..

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.