I've entered this sample code from another post for a UDT I named 'test':
Code: Select all
global $gCms;
$hm =& $gCms->GetHierarchyManager();
$curnode =& $hm->getNodeById($page_content_id);
$curcontent =& $curnode->GetContent();
echo 'Page URL: ' . $curcontent->GetURL();
Fatal error: Call to a member function on a non-object in /home/greg/x1.swdmedia.com/html/lib/content.functions.php(857) : eval()'d code on line 4
What could possibly be causing the issue?
I've searched through my error logs but there's nothing showing up there.
/g