When I add my enthu php code in my Main Index Template(index.php) in my theme folder, nothing shows up. I’ve had this problem before and I found a tutorial for it, but it’s since been taken down.
I get this error:
I know I need to change something for my collective stats to show up, but not sure what I should change.
Any help wpu;d be fantastic. BTW: PATH has been added by me, so its not a mistake, but you probably already knew that.
Your problem is that you include 2 files and in each of them you have a function called get_ancestors() – one file is a WP one and the other is an Enthusiast one. So the script doesn’t know which one to use.
The solution is to rename one of these function, to avoid conflict. Take care however to change the name in every place that this function is called too… otherwise everything’ll break.
Enthusiast 3.1.6 take care of this problem. https://github.com/angelasabas/enthusiast/blob/master/changelog.txt
You must be logged in to reply to this topic.