2013-10-03, 00:43:55
I have tried using getPageField with non-existing slugs and the error I get (a notice) is different.
After experimenting a bit, I got D.O.'s error by inserting this in the sidebar:
It's like $pagesArray isn't being populated or something in D.O.'s site.
After experimenting a bit, I got D.O.'s error by inserting this in the sidebar:
Code:
<?php
global $pagesArray;
$pagesArray = NULL;
getPageField('page','title');
?>
It's like $pagesArray isn't being populated or something in D.O.'s site.