ReverendDoctor
Member
Posted 1 year 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
That's not a WordPress function - it is something in your theme. So, you should contact the theme author.
ReverendDoctor
Member
Posted 1 year 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,
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.
ReverendDoctor
Member
Posted 1 year 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!
ReverendDoctor
Member
Posted 1 year 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.
ReverendDoctor
Member
Posted 1 year ago #
Not a plugin issue! Anyone else have any ideas? Please help if you can...
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"); ?>
ReverendDoctor
Member
Posted 1 year 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!
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
ReverendDoctor
Member
Posted 1 year ago #
Otto42 THANK YOU SO MUCH!!! That fixed it!!! I have been fretting with that error message for months now! Thanks again!