• Resolved reverenddoctor

    (@reverenddoctor)


    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

Viewing 12 replies - 1 through 12 (of 12 total)
  • That’s not a WordPress function – it is something in your theme. So, you should contact the theme author.

    Thread Starter reverenddoctor

    (@reverenddoctor)

    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,

    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.

    Thread Starter reverenddoctor

    (@reverenddoctor)

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

    https://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.

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

    Thanks!

    Thread Starter reverenddoctor

    (@reverenddoctor)

    bump

    sadish

    (@sadish)

    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.

    Thread Starter reverenddoctor

    (@reverenddoctor)

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

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    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.

    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"); ?>

    Thread Starter reverenddoctor

    (@reverenddoctor)

    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 https://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!

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    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:
    https://wordpress.pastebin.ca/956955

    Thread Starter reverenddoctor

    (@reverenddoctor)

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

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘wp_list_page()’ is closed to new replies.