Hi guys.
I am a little lost here.

I keep getting this error message:

Notice: Trying to get property of non-object in
/Users/acameron/Sites/dev.local/wp-content/themes/carrington-blog/cache/tpl_1230650091_1_1_14vanillagrie23eb3d7c9b4eeff8130736697dc2527.php
on line 202

Notice: Trying to get property of non-object in
/Users/acameron/Sites/dev.local/wp-content/themes/carrington-blog/cache/tpl_1230650091_1_1_14vanillagrie23eb3d7c9b4eeff8130736697dc2527.php
on line 203

I get it repeatedly across the page.

It corresponds to markup that looks something like this:

<tal:block condition="php: vanilla.template == 'yui-t7'"> <tal:block
condition="php: vanilla.nesting == 'yui-g'"> <metal:block
use-macro="vanilla_grid_inner_single_col" /> </tal:block> <tal:block
condition="php: vanilla.nesting != 'yui-g'"> <metal:block
use-macro="vanilla_grid_inner_multi_col" /> </tal:block> </tal:block>

Now, is there something wrong with this? Can PHP not be used that way in a
condition??

(vanilla is the name of the root template array and nesting (and template)
are array items.)

By the way, here are a couple of lines of the PHP cache file that are
mentioned in the errors above:

<?php if ($ctx->vanilla->template != 'yui-t7'): ; ?>
<?php if ($ctx->vanilla->nesting == 'yui-g'): ; ?>

Does that mean anything to anyone?

Much indebted to you if you can help here :)

Cheers,

-Alister

---
Alister R Cameron
CEO // Australis Media Pty Ltd
http://www.australismedia.com

Mob. 04 0404 5555
Fax 03 8610 0050

Click here to find me online:
http://clicktoadd.me/alicam
_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to