WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] wp_list_page() (13 posts)

  1. ReverendDoctor
    Member
    Posted 6 years ago #

    What calls the wp_list_page() on a single post? I am getting an error message at the bottom of each new "post" I create saying

    That it cannot "redeclare wp_list_page()" siting that it has been previously declared in my themes pagefunctions.php.

    I don't get this message when I create a new "page" only for new "post". So I need help figuring out what to change so it will stop showing up.

    Thanks

  2. moshu
    Member
    Posted 6 years ago #

    That's not a WordPress function - it is something in your theme. So, you should contact the theme author.

  3. ReverendDoctor
    Member
    Posted 6 years ago #

    I am using

    Theme Name: Light 1.0
    By: Stephen Reinhardt

    Emailed him but no response. Is anyone familiar with this theme and can offer any help?

    Thanks,

  4. whooami
    Member
    Posted 6 years ago #

    provide a link to the exact page that contains the download link to the theme you are using, and I will look. I wont hunt down a theme though, you have to provide that.

  5. ReverendDoctor
    Member
    Posted 6 years ago #

    I appreciate your quick response whooami, this has been driving me crazy!!! Here is the link to download the theme. It is called "light"

    http://wpzone.net/free-wordpress-themes/light/

    Here is a link to a page on my website that is displaying the error message. It is all the way at the bottom of the page so you will need to scroll down.

    http://www.ntsshow.com/wordpress/2007/11/21/november-21-2007-nts-show/

    Thanks!

  6. ReverendDoctor
    Member
    Posted 6 years ago #

    bump

  7. sadish
    Member
    Posted 6 years ago #

    I think it is one of your plugins. please disable all your plugins and see if it solves your problem.
    if it does, then enable the plugin one by one to find which one of them causes this issue.

    Thanks.

  8. ReverendDoctor
    Member
    Posted 6 years ago #

    Not a plugin issue! Anyone else have any ideas? Please help if you can...

  9. Samuel Wood (Otto)
    Tech Ninja
    Posted 6 years ago #

    Your theme is not the same as the one you posted, or you've modified it, or something, because I cannot reproduce the error.

    You're going to have to post your actual theme, modifications and all. Zip it up and post it somewhere so we can take a look at it.

  10. Rove
    Member
    Posted 6 years ago #

    Not sure if it works, but you could try to change the first line in header.php from

    <?php include("pagefunctions.php"); ?>

    to

    <?php include_once("pagefunctions.php"); ?>

  11. ReverendDoctor
    Member
    Posted 6 years ago #

    Rove - Your suggestion does get rid of the message but where the message was the page repeats so you get the top of the page again followed by the whole page when you scroll

    Otto42 - If I understand what you are saying here is the link to my zipped theme http://www.ntsshow.com/light-10.zip
    If you are saying I need to post it here on the forums instead of how I have done please let me know.

    Thanks for everyones help!

  12. Samuel Wood (Otto)
    Tech Ninja
    Posted 6 years ago #

    Your problem is in your single.php. That code is wrong. It's possible for it to include both single4 and single2.

    Replace it with this:
    http://wordpress.pastebin.ca/956955

  13. ReverendDoctor
    Member
    Posted 6 years ago #

    Otto42 THANK YOU SO MUCH!!! That fixed it!!! I have been fretting with that error message for months now! Thanks again!

Topic Closed

This topic has been closed to new replies.

About this Topic