I'm using this code in my sidebar to show a custom menu:
``
It works perfecty on the main news page, but when viewing the next page with older entries, the code somehow breaks the page. When viewing the source of the page, the html output stops just before this function should be executed. Perhaps a bug?
You mean this?
[Sat Jul 24 19:31:28 2010] [error] [client 84.24.72.107] PHP Fatal error: Call to a member function getTitle() on a non-object in /var/www/vhosts/degroeneman.nl/httpdocs/zp-core/zp-extensions/menu_manager.php on line 298, referer: http://www.degroeneman.nl/news
Yes, you should replace all Zenphoto files. It's best not to mix-and-match files from across versions. Doing so can cause all sorts of errors.
Thank you. Indeed replacing all the files fixed the problem with the menu . At first I never do that when testing, because it's a 'lot' of work to replace all the files and run setup again. Not really ofcourse, but an automatic backup somewhere in the future would be very nice .
Well, we always told that and even on the installation page. We don't test newer plugins with older releases.
As said by sbillard on the other thread the automatic database backup is now on the list for 1.3.2, but backuping your files is really our task. Since you should not change zp-core files anyway, there is not that much to backup anyway..
Something else now. After upgrading to the latest nightly, replacing all the files, except for the theme files ofcourse, my custom index page won't load. It's still in my themes folder and I've chosen it on the themes option page. Changing the custom index page to something else temporarily doesn't work either, it keeps switching back to home.php after I hit the save button (home.php is the name of my custom index page).
The Zenpage theme actually by uses gallery.php by default or an (unpublished) Zenpage page. I don't think the gallery index page ever worked with that theme.
If this worked for you before please open a ticket with an exact description so sbillard sees it later.