by Dreamer Technologies

Twilio Call Integration makes it easy for you to make, receive, record, and analyze calls from within your SuiteCRM. Enjoy features like click-to-call, call notification pop-ups, call logs, call recordings, call notes, and more to help your team be more productive.

Free 30 day trial
Try it Now

#5160 - Unable to validate license key in suite

Open Installation created by teague 10 months ago

We were able to successfully install the suitecrm plugin, however, We were not able to validate the Plugins license key within suitecrm. There was no success or failure event for the license key validation. It appears there is an issue with the API call.

Nginx server logs:

2024/01/02 18:49:21 [error] 1880#1880: *6 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Non-static method SugarOutfitters_API::get_default_payload() cannot be called statically in /var/www/suitecrm/modules/dt_TwilioCalls/outfitterslicense.php:543 Stack trace:

0 /var/www/suitecrm/modules/dt_TwilioCalls/outfitterslicense.php(237): SugarOutfitters_API::call()

1 /var/www/suitecrm/modules/dt_TwilioCalls/outfitterslicense.php(187): TwilioIntegrationOutfitters::doValidate()

2 /var/www/suitecrm/modules/dt_TwilioCalls/outfitterscontroller.php(17): TwilioIntegrationOutfitters::validate()

3 /var/www/suitecrm/include/MVC/View/SugarView.php(824): include_once('...')

4 /var/www/suitecrm/include/MVC/View/views/view.classic.php(72): SugarView->includeClassicFile()

5 /var/www/suitecrm/include/MVC/View/SugarView.php(210): ViewClassic->display()

6 /var/www/suitecrm/include/MVC/Controller/SugarController.php(432): SugarView->process()

7 /var/www/suitecrm/include/MVC/Controller/SugarController.php(363): SugarController->processView()

8 /var/www/suit" while reading response header from upstream, client: 192.168.252.117, server: 192.168.252.76, request: "POST /index.php?module=dt_TwilioCalls&action=outfitterscontroller&to_pdf=1 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php8.1-fpm.sock:", host: "192.168.252.76", referrer: "http://192.168.252.76/index.php?module=dt_TwilioCalls&action=license"

SuiteCRM Version 7.14.2 Sugar Version 6.5.25 (Build 344) php-fpm version 8.1

  1. dreamertechs member avatar

    Dreamer Technologies Provider Affiliate

    10 months ago

    Hello Teague,

    Thanks for the sharing the detailes with us...!

    Our team will look into this , if we can connect on skype : dreamertechs or Whatsapp: 918866461183 for the remote meeting to resolve your issue please ping us on given channel.

    regards,

    Team Dreamer Technologies.

  2. teague member avatar

    teague

    10 months ago

    We were able to resolve the issue by making an alteration to the PHP code in the following file:

    /suitecrm/modules/dt_TwilioCalls/outfitterslicense.php

    The alterations were made at line 543:

    Original Code:

            // get default payload data
            $data = static::get_default_payload($module, $custom_data);
    

    Alterations made:

            // get default payload data
            $api = new SugarOutfitters_API();
            $data = $api->get_default_payload($module, $custom_data);
    
  3. dreamertechs member avatar

    Dreamer Technologies Provider Affiliate

    10 months ago

    Hello teague

    We have updated the package in store, you can download the it the latest version of the package from the store.

    Regards,

    Team Dreamer Technologies.

This case is public. Please leave out any sensitive information such as URLs, passwords, etc.
Saving Comment Saving Comment...
  • "Great support and help to set up the plugin. Kind of complex so really needed them to share screens, but was handled very professionally" - renaud

    Read More Reviews