Error Cannot redeclare class modMaximenuckhikashop

Error Cannot redeclare class modMaximenuckhikashop was created by trevorsm

Posted 6 years 9 months ago #43178
Hi

I am trying to update a site but I receive an error when I try and open a Maximenu CKmodule to make some changes in the back-end admin.

Fatal error: Cannot redeclare class modMaximenuckhikashopHelper in /var/www/vhosts/domain.ext/plugins/system/maximenuck_hikashop/helper/helper_maximenuck_hikashop.php on line 12

Here is what is installed:
Joomla 3.7.2
Hikashop Maximenu CK Plugin Site Plugin 1.0.0 December 2016
Maximenu CK Site Module 8.2.3 janvier 2011
Maximenu CK Hikashop Administrator Component 2.0.3 December 2016
Maximenu CK Params Administrator Component 4.1.2 Juillet 2014
Maximenu CK Params Package Site Package 4.1.2 Avril 2013
System - Maximenu CK Hikashop Site Plugin 2.0.3 December 2016
System - Maximenu CK Mobile Site Plugin 2.0.20 Octobre 2012
System - Maximenu CK Patch Site Plugin 1.0 2012
System - Maximenu_CK params Site Plugin 4.1.0 Janvier 2011

Best regards
Trevor
Last Edit:6 years 9 months ago by trevorsm
Last edit: 6 years 9 months ago by trevorsm.

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic Error Cannot redeclare class modMaximenuckhikashop

Posted 6 years 9 months ago #43179
Hi
Please check in the module folder if you have a file called "helper_hikashop.php", if yes, try to rename it to disable it and tell me
CEd

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Replied by trevorsm on topic Error Cannot redeclare class modMaximenuckhikashop

Posted 6 years 9 months ago #43181
Hi CEd

Thanks for the quick response.
The file did exist and after renaming it I can access and edit the module.

Best regards
Trevor

Please Log in or Create an account to join the conversation.

Replied by trevorsm on topic Error Cannot redeclare class modMaximenuckhikashop

Posted 6 years 9 months ago #43913
Hi CEd

I am trying to update another site but when I delete "helper_hikashop.php" the site crashes with the following error:
Code:
1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND #__hikashop_category.category_right < ORDER BY ordering ASC' at line 1

Any ideas?

Best regards
Trevor

Here is what is installed:
Joomla 3.7.3
Hikashop Maximenu CK Plugin Site Plugin 1.0.0 December 2016
Maximenu CK Site Module 8.2.4 janvier 2011
Maximenu CK Hikashop Administrator Component 2.0.3 December 2016
Maximenu CK Params Administrator Component 4.1.2 Juillet 2014
Maximenu CK Params Package Site Package 4.1.2 Avril 2013
System - Maximenu CK Hikashop Site Plugin 2.0.3 December 2016
System - Maximenu CK Mobile Site Plugin 2.0.20 Octobre 2012
System - Maximenu CK Patch Site Plugin 1.0 2012
System - Maximenu_CK params Site Plugin 4.1.0 Janvier 2011
Last Edit:6 years 9 months ago by trevorsm
Last edit: 6 years 9 months ago by trevorsm.

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic Error Cannot redeclare class modMaximenuckhikashop

Posted 6 years 9 months ago #43917
Hi
do you have the same Hikashop version on both websites ?
CEd

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic Error Cannot redeclare class modMaximenuckhikashop

Posted 6 years 9 months ago #43918
PS : also check the options in the module to be sure that you have selected a category to load

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Time to create page: 0.674 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 819 guests and no members online