hi/* require_once('cms_wfc/fns_general.php'); require_once('loadclass.inc.php'); require_once('dbconnect.inc.php'); $bannerimages=$DbObj->fetchassoc("select * from pm_banner_images order by sort_id"); #############Readers message start ################ $readermsg=$DbObj->readValue("select * from cms_items where Id=17"); $pos=strlen( $readermsg['description']); if($pos>350) { $pos1=strpos(substr(stripslashes( $readermsg['description']),350), "."); $pos1=$pos1+350+1; $msg='

Dear Readers,

'; $msg.=substr(stripslashes( $readermsg['description']),0,$pos1)."

More >>>

"; } else $msg=stripslashes($readermsg['description']); #############Readers message end ################ #############Middle home page below photo message start ################ $middlemsg=$DbObj->readValue("select * from cms_items where Id=18"); $pos=strlen( $middlemsg['description']); if($pos>200) { $pos1=strpos(substr(stripslashes( $middlemsg['description']),200), "."); $pos1=$pos1+200+1; $midmsg=substr(stripslashes( $middlemsg['description']),0,$pos1)."  More >>> "; } else $midmsg=stripslashes($middlemsg['description']); ########## middle msg end here ############ ?> The Pedestal Magazine

Fatal error: Call to a member function readValues() on null in /home/thepedestalmagaz/public_html/index.php on line 188