in my error log I found this message:
[18-Oct-2012 11:12:22] PHP Fatal error: Call to undefined method PayPalPlugin::getAuthorizedContextObject() in /html/ojs/lib/pkp/classes/handler/PKPHandler.inc.php on line 430
This line 430 looks like this:
- Code: Select all
$templateMgr->assign('userRoles', $this->getAuthorizedContextObject(ASSOC_TYPE_USER_ROLES));
So somewhere a PayPalPlugin has been instantiated as a PKPHandler, while the inheritance line of the PayPalPlugin looks like this:
PayPalPlugin -> PayMethodPlugin -> Plugin -> PKPPlugin
Therefore I don't understand this error. Is a plugin supposed to extend the PKPHandler class and therefore be able to access its methods? Or is it wrong in the first place to treat a PayPalPlugin as a subclass of the PKPHandler? But then where did this slip happen?
Best regards,
Kai Weber
