Smartcode Posted April 13, 2008 Share Posted April 13, 2008 Hello phpfreaks users please help me to fix this problem PHP Fatal error: Call to a member function on a non-object in /home/user/public_html/folder/easytemplate.php(1) : eval()'d code on line 92 theis the error line function _vars_callback($matches){ $var = $this->_var_callback($matches); return('<?= '.$var.'?>'); } you can dowload class at this link http://daif.net/easy/down/easytemplate.zip Quote Link to comment Share on other sites More sharing options...
Jenk Posted April 16, 2008 Share Posted April 16, 2008 Too vague a problem to fully assist, but you are calling a function on something that is not an object. Quote Link to comment Share on other sites More sharing options...
Cobby Posted April 19, 2008 Share Posted April 19, 2008 I think you might be creating a non-terminating loop because you call the function inside the function. <?php function foo($string){ foo($string); die('Will this execute?'); } ?> Quote Link to comment 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.