I've been struggling now for over 3 hours to understand what happened with the search on my soon to be announced new website. It's still under development at the moment and I tried to style the search.php file. Everything worked fine. Some minutes later I tried search again and i get the following error:
Quote:Fatal error: Call to a member function isDynamic() on a non-object in /customers/trojkolka.net/trojkolka.net/httpd.www/newzen/zp-core/template-functions.php on line 1672
I have no idea what happened or what broke... I use the zenpage plugin but I don't thik that causes the issue. My team is based on the zpfocus theme. You can have a look at my site here: http://trojkolka.net/newzen/page/search/Finland I also copy the code of which i suspect that the error might take place (because from that point it just doesn't show anything anymore on the site)
Here is the code snippit:
`
There have been a few fixes regarding searches in the nightly build. Please try upgrading to the nightly. It should fix this problem.
Thanks, update to the Nightly solved that problem. I now just have a different issue with the GetLatestNews() function.
Quote:Warning: get_class() called without object from outside a class in /customers/trojkolka.net/trojkolka.net/httpd.www/zennew/zp-core/zp-extensions/zenpage/zenpage-template-functions.php on line 90
You can check the error on:
http://www.trojkolka.net/zennew/
Error gets fired in following piece of code:
`
/**
I installed the nightly build of today as adviced to fix the search bug i was encountering. That bug has been solved. However this nightly build fires this Warning no on the frontpage when I call there printLatestNews()
`
`
I use zenpage and used the theme called zpFocus as my basis for my theme