Problem with dynamic albums and WordPress

I created a dynamic album in Zenphoto, but when I try to view the album I get the following error:

`Catchable fatal error: Object of class SearchEngine could not be converted to string in /home/xxxxx/public_html/wp-includes/classes.php on line 273`

Has anyone experienced this? Could it be that Zenphoto and Wordpress each have a function with the same name?

Thanks!

Comments

  • acrylian Administrator, Developer
    Might be possible, we have not checked as we consider Zenphoto as a standalone script generally. How do you use the two together? We use both on zenphoto.org but actually separately (the zenphoto theme calls the header and footer from the wordrpess theme).
  • I use the method described at:
    http://tech.einaregilsson.com/2007/08/06/integrating-zenphoto-into-wordpress/

    I think this is the same method Zenphoto uses, right?
  • acrylian Administrator, Developer
    Not exacty. The Wordpress theme is a normal Wordpress theme and the Zenphoto theme looks like this:
    `
    <?php require('../wp-blog-header.php'); ?>

    <?php get_header(); ?>

    <?php zenJavascript(); ?>
    /css/zen.css" type="text/css" />

    Normal Zenphoto stuff here

    <?php get_footer(); ?>
    `
  • I got this same error message when trying to view the dynamic album I just created and my template looks exactly like the one acrylian describes. Also my choice for 'most recent' thumbnail is not saved. It always switches back to 'randomly selected'.
  • Uncommenting that line 273 in classes.php in WP fixes the problem, I think... but I don't know what it will break...
    The problem with not using the most recent thumb as album thumb remains. It will always show a random thumb as album thumb.
Sign In or Register to comment.