× KISS International Help Forum. English language, please.

Fatal error: Cannot redeclare _getWatermarkImage(

More
31 Aug 2014 11:34 #6111

The error occurs because the KISS Advertiser module coincidentally uses the same function name (_getWatermarkImage) as the Joomlaworks Gallery. This problem could be solved by replacing all references to '_getWatermarkImage' in the code by another string.

You are obviously using the old KISS Advertiser module, we have rewritten the code in the new module so that it no longer uses own procedures. The procedures are now part of a particular helper class, which should help to avoid such errors.

The new module is available for Joomla 3.x only as Joomla 2.5 will be deprecated at the end of the year.


Ob ein Glas halb voll oder halb leer ist, ist mir egal. Hauptsache meine Zähne passen rein.
No matter whether a glass is half full or half empty - as long as my teeth fit in.

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

More
30 Aug 2014 20:21 #6106

Joomlaworks didn't spot it, but it may have been because I had set the gallery to also load up the same module position that the ks advertiser was published in hence the redeclaration. Might be an idea to have functions in a separate file and use require_once to avoid this in future?

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

More
30 Aug 2014 19:23 #6105

Hi, there is a problem with the module which for some reason prevents image gallery pro (a k2 extension) working - their support found the following, pointing the 'blame' at KS advertiser, here is their response:

Obviously I would like to use ks advertiser so disabling it isn't the solution I was looking for! clearly Joomlaworks can't help any further.

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

Powered by Kunena Forum
We use cookies

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.