Smartcode Posted April 12, 2008 Share Posted April 12, 2008 Hello webmaster-talk 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.'?>'); } please help me fast Quote Link to comment Share on other sites More sharing options...
Northern Flame Posted April 12, 2008 Share Posted April 12, 2008 function _vars_callback($matches){ $var = $this->_var_callback($matches); echo $var; } Quote Link to comment Share on other sites More sharing options...
Smartcode Posted April 12, 2008 Author Share Posted April 12, 2008 unfortunately , nothing happen you can dowload class at this link http://daif.net/easy/down/easytemplate.zip please help me . Quote Link to comment Share on other sites More sharing options...
Northern Flame Posted April 12, 2008 Share Posted April 12, 2008 wait a minute, i just realized, this code: function _vars_callback($matches){ $var = $this->_var_callback($matches); return('<?= '.$var.'?>'); } doesnt really make sense, you're just going in circles, I'm not too sure, but I think you're trying to do this: function _vars_callback($matches){ echo $matches; } Quote Link to comment Share on other sites More sharing options...
Smartcode Posted April 13, 2008 Author Share Posted April 13, 2008 unfortunately , nothing happen 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.