Missing $serendipity['smarty']?
Posted: Sun Jan 23, 2011 10:15 pm
Hi,
I am occasionally getting an error in my s9y installation. The error log says:
The offending line is:
This fatal error causes a blank page to show up in my web browser. But if I refresh, it works fine, the page loads correctly, and there is no error in the log. Is this a bug in the plugin? Can $serendipity['smarty'] sometimes not exist? Is there something I need to do to cause it to exist before using it in the plugin?
thanks,
greg
I am occasionally getting an error in my s9y installation. The error log says:
Code: Select all
[Sun Jan 23 14:50:13 2011] [error] [client 1.2.3.4] PHP Fatal error: Call to a member function assign() on a non-object in /var/www/htdocs/vhost/mydomain/serendipity/plugins/serendipity_event_picasa/serendipity_event_picasa.php on line 485, referer: http://www.mydomain.com/serendipity/index.php?/archives/2011/01/22/429-pagetitle.htmlCode: Select all
$serendipity['smarty']->assign(get_class($this).'_albumName', $albumName);thanks,
greg