tags:

views:

117

answers:

1

i am developing a module in joomla . all things goes fine except Fatal error: Call to a member function get()

getting this error when i m using $username = $parem->get('username')

but if i m using $username = 'foo'; all things goes fine

Thanks

A: 

without seeing more of the code - a quick thing to check would be what your $parem var is. Also, is that a typo? shouldn't it be $param?

sobedai
$username = $params->get( 'username' );$password = $params->get( 'password' );i am using this
vipinsahu