Cannot redeclare class MultilingualPackage

Permalink Browser Info Environment
First, thanks for the great add-on.

We have a concrete5 5.5 installation with internationalization 1.0.3 and Designer Content 3.0 installed. When i start the Zend debugger to verify code, then i get the following error:

Cannot redeclare class MultilingualPackage

When i remove the Designer Content Add-on, the error disappears.

Type: Discussion
Status: New
benno
View Replies:
jordanlev replied on at Permalink Reply
jordanlev
Hi,
I'm not sure what could possibly be causing this error -- there is absolutely nothing having to do with MultilingualPackage in teh Designer Content code. Did you get the Designer Content addon from the C5 marketplace, or from somewhere else (perhaps a translated package -- I think @taos in Japan had that once)? Did you modify the addon code at all?

Unfortunately I don't know what I could do to help -- I would try asking the author of the Multilingual package about the issue.

Sorry :(
benno replied on at Permalink Reply
benno
I have installed the add-on via the marketplace. I don't have made any modification to the code on the module.

I think it's a problem with auto-loading of class files. In a free second, I'll give it a try to resolve the problem.

Thanks for your help.
nerdess replied on at Permalink Reply
nerdess
i had the same issue with the Mobile_Detect plugin. problem was that i was including the class manually via

require_once 'Mobile_Detect.php';


though it was already loaded via the autoloader. After removing the require_once all was fine :)

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.