darkfreaks Posted November 28, 2007 Share Posted November 28, 2007 fatal error: Call to a member function assign() on a non-object on lin 29. <?php $vt->assign('LANGUAGES', $languages);?> Quote Link to comment Share on other sites More sharing options...
PHP_PhREEEk Posted November 28, 2007 Share Posted November 28, 2007 Your probably missing a global declaration in the function that's generating this error if you are programming something yourself. If you're not, and this is a 3rd party script error, then you probably have an include that's failing, or a borked download. A non-object error means you tried to manipulate an object that does not exist. Objects created by the script proper, or any included scripts lose scope when a function is called, and at that point it becomes a non-object. It has to be imported into functions. Your object is $vt. If you ask for a var_dump of it, you'll see what the problem is. PhREEEk 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.