[resolved] wp_list_page() (13 posts)

  1. ReverendDoctor
    Posted 8 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.


  2. moshu
    Posted 8 years ago #

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

  3. ReverendDoctor
    Posted 8 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?


  4. whooami
    Posted 8 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
    Posted 8 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"


    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.



  6. ReverendDoctor
    Posted 8 years ago #


  7. sadish
    Posted 8 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.


  8. ReverendDoctor
    Posted 8 years ago #

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

  9. 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
    Posted 8 years ago #

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

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


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

  11. ReverendDoctor
    Posted 8 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. 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:

  13. ReverendDoctor
    Posted 8 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