SondagesPro / LS-sendMailAjax

Issue and merge request : https://gitlab.com/SondagesPro/sendMailAjax

Home Page:https://extensions.sondages.pro/mailing-management/sendmailajax-all-email-in-one-click/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

500 error when activating plugin

jacestk opened this issue · comments

When cliking on "activate" in pligin menu, I got a 500 error:

Erreur interne du serveur
CClientScript and its behaviors do not have a method or closure named "hasPackage".

Une erreur interne est apparue lorsque le serveur web traitait votre requete. Veuillez contacter the webmaster pour signaler ce problème.

Merci.

LimeSurvey Version 2.50.1+160823
PHP 5.4
Apache 2.4
CentOS Linux release 7.3.1611 (Core)

The problem seems to come from hasPackage() method for line 484

For 2.50 : maybe you can test with https://gitlab.com/SondagesPro/mailing/sendMailAjax/blob/7f716efe72f4774a9c405ac20f260b374cf6b9e9/sendMailAjax.php . I make a realease 'legacy' for this.

Else : https://www.yiiframework.com/doc/api/1.1/CClientScript#hasPackage-detail the it's OK on last LimeSurvey version (2.73 too).