1. Kayako Download customers: we will continue to develop and support Kayako Download beyond July 2017, alongside the new Kayako for existing customers.

    Find out more.

  2. The forum you are viewing relates to Kayako Classic. If you signed up or upgraded to the new Kayako (after the 4th July 2016), the information in this thread may not apply to you. You can visit the forums for the new Kayako here.

Weird issue every now and then with registrations?

Discussion in 'Installation and setup (Kayako Classic Download)' started by MvdL79, Mar 22, 2019.

  1. MvdL79

    MvdL79 Member

    We are experiencing a weird issue with Kayako Classic at the moment. Mind you that it does not happen every time. Sometimes it works for hours (even days), but then it shows an error when a new user tries to register with our Kayako Classic installation.

    In the logs it shows the following error:
    2019-03-21 10:25:10 Error 111.222.333.444 500 POST /index.php?/Base/UserRegistration/RegisterSubmit HTTP/1.1
    2019-03-21 10:25:10 Warning 111.222.333.444
    mod_fcgid: stderr: PHP Fatal error: Class 'SWIFT_EmailQueue' not found in /var/www/vhosts/domain.tld/httpdocs/__swift/apps/base/client/class.Controller_UserRegistration.php on line 165, referer: https://domain.tld/index.php?/Base/UserRegistration/Register
    The user will receive a Internal Server Error 500 and the above is shown in the logs.

    Now the only solution to fix this is by running "Rebuild Cache" under "Diagnostics".
    After running that it's working fine again and new users can register once again. This only effects (new) registrations and doesn't have any effect on creating tickets for users or anywhere else. Only on the registration page when a new user tries to register.

    Any idea what is causing this?

    Sidenote; is it possible to setup a cron-job which runs "Rebuild Cache" daily at a certain time? That would solve it for the time being.

    Thanks in advance.

  2. MvdL79

    MvdL79 Member

    I looked up the particular mentioned line #165, which is the following (including the information above):

          * BUG FIX : Mansi Wason <mansi.wason@kayako.com>
          * SWIFT-5195 : Better handling of email address for a user account
          * Comments : Prevent customers to register the email address same as the email queue.
         $_EmailQueueList = SWIFT_EmailQueue::RetrieveEmailofAllEmailQueues();
    So the culprit seems to be: $_EmailQueueList = SWIFT_EmailQueue::RetrieveEmailofAllEmailQueues();
  3. MvdL79

    MvdL79 Member

  4. Gurpreet Singh

    Gurpreet Singh Staff Member

    Hello there!

    I am so sorry that for some reason, the emails from the forums were going to my spam folder. Regarding the reported issue, I believe this was a known and we have resolved it with SWIFT-5275.

    Could you please let me know your Kayako version number? It was fixed in v4.91.1.

    Looking forward to your response.
  5. bear

    bear Kayako Guru

    Possibly because the last few hundred threads started here were selling keto and viagra? ;)
    Is the answer to every issue "it's fixed in the paid next version upgrade"?

Share This Page