So i'm doing a site redesign, and I started getting this error:
Quote:[warn] mod_fcgid: stderr: PHP Fatal error: Cannot access protected property SearchEngine::$category_list
At first I thought I fat-fingered something in my search page, and to no avail. I then copied the search page from the zenpage installation and it's doing the exact same thing.
The weird thing is, it doesn't do it if I use the zenpage theme. However when I use the zenpage search.php file I still get the above error.
Is there search related calls that need to be on the other pages for a search to happen properly now?
I can comment out the section that does the checking if something is > 0, but then of course doing that the search comes back fine showing results, but then also displays the "no results" message.
I have never seen that error and actually other pages only have the search form. The Zenpage page uses some special theme functions related to search that are stored within theme's functions.php. But those are actually pure JS ones to show/hide the Zenpage search results only.
Did you do a file compare? Do you use a category specific search or so on any page?
With the advent of requriring PHP5 we have been able to tighten up our Objects. Most likely your theme is using $searchengine->category_list rather than the method $searchengine->getCategoryList() The former is not allowed (and should not have been used anyway) It is now enforced this way by making the property a protected property which was not possible in PHP4.
I believe that is part of the security hack. When mine comes up through a Google search, it comes up as some RoadRunner page, and I can't back out of it. I have to close the page. I've been told it won't actually be removed/back to normal until Google... probably every search engine, flushes their caches. Really annoying.
It is a good idea to subscribe to one of our news facilities to get notified. The issue was almost two months ago! http://www.zenphoto.org/#stay-tuned