Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Blog Module /

Discuss the Blog Module.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

showTags() causing error and selectedTags() returning nothing in latest SS+Blog


Reply


2 Posts   752 Views

Avatar
dizzystuff

Community Member, 93 Posts

13 June 2010 at 2:40pm

Hey All

Pretty much as the title suggests - I'm running latest SS + Blog, showTags() is throwing an error when I try to hit a BlogHolder page.

Fatal error: Call to a member function latestParam() on a non-object in /path/to/blog/code/BlogHolder.php on line 76

If I comment that function out it works great - except the new SelectedTags check in the BlogHolder.ss template never returns true so I never get the "Viewing entries tagged with" text when going to http://domain.com/blog/tag/tagname.

I know this is probably one of those times where it serves me right for using the latest builds rather than something more stable. Nevertheless if it's a simple fix, all is good. If it's not, has there been a change I can look for in the repo and roll back to that revision while this is resolved?

Thanks
dizzy

Avatar
dizzystuff

Community Member, 93 Posts

14 June 2010 at 10:01pm

Ok I've given this another test and selectedTags() now seems to be working fine. Not sure what happened there, sorry.

The showTags() function is still causing the fatal error in my post above though.