Hi again Uwe,
So that has sorted out the PHP error it was throwing, but now when
caching is enabled, if I assign an object to the template from within
the block function then I cannot access it's properties?
I.e.
{entries}
{$test} // value assigned within the block function, prints out
correctly
{$myObj->test} // object assigned within the block function, no value
printed out here
{/entries}
Again this is only a problem when caching is enabled, although if I
wrap the {block}{/block} in a {nocache} block then it *does* work
correctly.
Many thanks,
Mark