cybernet Posted November 9, 2010 Share Posted November 9, 2010 what's wrong in this line $tpl->set('main_content',set_block($heading,'center',$err_tpl->fetch(load_template('error.tpl')))); Quote Link to comment https://forums.phpfreaks.com/topic/218231-call-to-a-member-function-set-on-a-non-object/ Share on other sites More sharing options...
ManiacDan Posted November 9, 2010 Share Posted November 9, 2010 $tpl is not an object. There's nothing wrong with THAT line, but some EARLIER line failed to set $tpl properly. The error message pretty much says what I just said. -Dan Quote Link to comment https://forums.phpfreaks.com/topic/218231-call-to-a-member-function-set-on-a-non-object/#findComment-1132367 Share on other sites More sharing options...
cybernet Posted November 9, 2010 Author Share Posted November 9, 2010 thanks i will try to find the line that sets $tpl have a great day, cybernet Quote Link to comment https://forums.phpfreaks.com/topic/218231-call-to-a-member-function-set-on-a-non-object/#findComment-1132370 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.