Helmut2509
Member
I have created a listener with the following code:
if ($class == 'XenForo_Visitor')
{
$extend[] = 'AvatarGallery_Visitor';
}
...the new class:
class AvatarGallery_Visitor extends XFCP_AvatarGallery_Visitor
--
However, I get this error:
An exception occurred: Cannot load class using XFCP. Load the class using the correct loader first. in ......library/XenForo/Autoloader.php on line 108
---
what is wrong here?
if ($class == 'XenForo_Visitor')
{
$extend[] = 'AvatarGallery_Visitor';
}
...the new class:
class AvatarGallery_Visitor extends XFCP_AvatarGallery_Visitor
--
However, I get this error:
An exception occurred: Cannot load class using XFCP. Load the class using the correct loader first. in ......library/XenForo/Autoloader.php on line 108
---
what is wrong here?