Author Topic: vmextendedplugin.php fix - improper a class property and a method declaration  (Read 2327 times)


  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 159
  • Copyleft (є) all rights reversed
VM 1.9.8 i (updated from 1.9.8 G->H->I)
Sample data installed
J! 1.7.1
PHP 5.3.5

Here is an abstract class:
Code: [Select]
abstract class VmExtendedPlugin extends JPlugin {
Here are the problems:

Code: [Select]
private $_name = '';...
Code: [Select]
private function getName() {

Both must be protected to be posiible to be inherited. I met a problem when experimenting with an extended plugin and getting fatal errors.

So it must be:

Code: [Select]
protected $_name = '';
Code: [Select]
protected function getName() {

FIXED in newer versions
Your installable language for VM2:


  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10124
  • VM3.9 Eagle Owl
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Should I fix your bug, please support the VirtueMart project and become a member
Extensions approved by the core team: