Jan,
You were using pre-Joomla 1.7 code conventions (no offense). You should have used from an instance (Jparameter) to a property i.e $this->params. You are missing that in your code. We have added on line 57 the following code:
"$paramsP = $this->params;"
the block reads now: (line 57-62)
Code: Select all
//modified by Al for GWS-Desk
$paramsP = $this->params;
require_once( JPATH_ROOT.DS.'components'.DS.'com_phocamaps'.DS.'helpers'.DS.'route.php' );
require_once( JPATH_ADMINISTRATOR.DS.'components'.DS.'com_phocamaps'.DS.'helpers'.DS.'phocamapspath.php' );
require_once( JPATH_ADMINISTRATOR.DS.'components'.DS.'com_phocamaps'.DS.'helpers'.DS.'phocamaps.php' );
require_once( JPATH_ADMINISTRATOR.DS.'components'.DS.'com_phocamaps'.DS.'helpers'.DS.'phocamapsmap.php' );
this is logical since you can clearly see that it is a property from the parent class:
abstract class JPlugin extends JEvent
{
/**
* A JRegistry object holding the parameters for the plugin
*
* @var A JRegistry object
* @since 11.1
*/
public $params = null;
Adding the code on Line 57 resolves this for the plugin on Joomla 2.5. You might want to release a new version of the plugin therefor
Leo