Skip to content

error after upgrade: Classname Phaidon\PiwikModule\Block\OptOutBlock does not exist #23

@MrMontesa

Description

@MrMontesa

Hey,
I just tested @Guite new version of piwik on a fresh 1.4.4 install. Install works and I was able to configure Piwik.
But when accessing the blocks module I get the following error:
Classname Phaidon\PiwikModule\Block\OptOutBlock does not exist

Heres the stack trace:

in system/BlocksModule/Api/BlockFactoryApi.php at line 65   -
        }
        if (!class_exists($blockClassName)) {
            throw new \RuntimeException(sprintf('Classname %s does not exist.', $blockClassName));
        }
        if (!is_subclass_of($blockClassName, 'Zikula\BlocksModule\BlockHandlerInterface') && !is_subclass_of($blockClassName, 'Zikula_Controller_AbstractBlock')) {
            throw new \RuntimeException(sprintf('Block class %s must implement Zikula\BlocksModule\BlockHandlerInterface or be a subclass of Zikula_Controller_AbstractBlock.', $blockClassName));
at BlockFactoryApi ->getInstance ('Phaidon\PiwikModule\Block\OptOutBlock', object(PhaidonPiwikModule)) 
in system/BlocksModule/Api/BlockApi.php at line 155   + 
at BlockApi ->getAvailableBlockTypes (object(ExtensionEntity)) 
in system/BlocksModule/Api/BlockApi.php at line 188   + 
at BlockApi ->getModulesContainingBlocks () 
in system/BlocksModule/Controller/AdminController.php at line 70   + 
at AdminController ->viewAction (object(Zikula_Request_Http)) 
at call_user_func_array (array(object(AdminController), 'viewAction'), array(object(Zikula_Request_Http))) 
in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php at line 144   + 
at HttpKernel ->handleRaw (object(Zikula_Request_Http), '1') 
in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php at line 64   + 
at HttpKernel ->handle (object(Zikula_Request_Http), '1', true) 
in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/ContainerAwareHttpKernel.php at line 69   + 
at ContainerAwareHttpKernel ->handle (object(Zikula_Request_Http), '1', true) 
in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php at line 185   + 
at Kernel ->handle (object(Zikula_Request_Http)) 
in index.php at line 23 

As the erros is in BlocksModule not sure if this is Piwik or Core issue.
Let me know if I can be of any help.
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions