Accelerate your sales and marketing efforts while browsing the web by directly connecting your SuiteCRM contacts from WhatsApp Web using the WhatsApp Chrome Add-on for SuiteCRM.
#5677 - "Something went wrong" message in the Add-on (every time) when we try to access the record of a "Contact" in the WhatsApp chat list
I´ve installed the VIWhatsAppChromeIntegration-1.0-SuiteCRM-Version7.12To7.14.zip file in a SuiteCRM 7.14.5 running PHP 8.2 on Ubuntu Server 24.
After installing and login in from the Web WhatsApp website, I can´t access information, neither create a new contact.
Checking the error log file, we get always the same "block" of errors (just the timestamp changes, of course):
[Wed Apr 09 06:51:14.959961 2025] [php:warn] [pid 2799678] [client 167.56.58.81:49419] PHP Warning: Undefined array key "source" in /var/www/html/dinamica/custom/service/v4_1_VIWhatsappIntegration/MySugarRestServiceImpl_4_1_VIWhatsappIntegration.php on line 1734, referer: https://web.whatsapp.com/ [Wed Apr 09 06:51:14.959968 2025] [php:warn] [pid 2799678] [client 167.56.58.81:49419] PHP Warning: Undefined array key "source" in /var/www/html/dinamica/custom/service/v4_1_VIWhatsappIntegration/MySugarRestServiceImpl_4_1_VIWhatsappIntegration.php on line 1734, referer: https://web.whatsapp.com/ [Wed Apr 09 06:51:14.959975 2025] [php:warn] [pid 2799678] [client 167.56.58.81:49419] PHP Warning: Undefined array key "source" in /var/www/html/dinamica/custom/service/v4_1_VIWhatsappIntegration/MySugarRestServiceImpl_4_1_VIWhatsappIntegration.php on line 1734, referer: https://web.whatsapp.com/ [Wed Apr 09 06:51:14.959982 2025] [php:warn] [pid 2799678] [client 167.56.58.81:49419] PHP Warning: Undefined array key "source" in /var/www/html/dinamica/custom/service/v4_1_VIWhatsappIntegration/MySugarRestServiceImpl_4_1_VIWhatsappIntegration.php on line 1734, referer: https://web.whatsapp.com/ [Wed Apr 09 06:51:14.959990 2025] [php:warn] [pid 2799678] [client 167.56.58.81:49419] PHP Warning: Undefined array key "source" in /var/www/html/dinamica/custom/service/v4_1_VIWhatsappIntegration/MySugarRestServiceImpl_4_1_VIWhatsappIntegration.php on line 1734, referer: https://web.whatsapp.com/ [Wed Apr 09 06:51:14.979927 2025] [php:warn] [pid 2799678] [client 167.56.58.81:49419] PHP Warning: Undefined array key "source" in /var/www/html/dinamica/custom/service/v4_1_VIWhatsappIntegration/MySugarRestServiceImpl_4_1_VIWhatsappIntegration.php on line 1734, referer: https://web.whatsapp.com/ [Wed Apr 09 06:51:14.979963 2025] [php:warn] [pid 2799678] [client 167.56.58.81:49419] PHP Warning: Undefined array key "source" in /var/www/html/dinamica/custom/service/v4_1_VIWhatsappIntegration/MySugarRestServiceImpl_4_1_VIWhatsappIntegration.php on line 1734, referer: https://web.whatsapp.com/ [Wed Apr 09 06:51:14.979968 2025] [php:warn] [pid 2799678] [client 167.56.58.81:49419] PHP Warning: Undefined array key "source" in /var/www/html/dinamica/custom/service/v4_1_VIWhatsappIntegration/MySugarRestServiceImpl_4_1_VIWhatsappIntegration.php on line 1734, referer: https://web.whatsapp.com/ [Wed Apr 09 06:51:15.058504 2025] [php:warn] [pid 2799678] [client 167.56.58.81:49419] PHP Warning: Undefined array key "OVERVIEW" in /var/www/html/dinamica/custom/service/v4_1_VIWhatsappIntegration/MySugarRestServiceImpl_4_1_VIWhatsappIntegration.php on line 1662, referer: https://web.whatsapp.com/ [Wed Apr 09 06:51:15.058588 2025] [php:error] [pid 2799678] [client 167.56.58.81:49419] PHP Fatal error: Uncaught TypeError: array_merge(): Argument #1 must be of type array, null given in /var/www/html/dinamica/custom/service/v4_1_VIWhatsappIntegration/MySugarRestServiceImpl_4_1_VIWhatsappIntegration.php:1662\nStack trace:\n#0 /var/www/html/dinamica/custom/service/v4_1_VIWhatsappIntegration/MySugarRestServiceImpl_4_1_VIWhatsappIntegration.php(1662): array_merge()\n#1 /var/www/html/dinamica/service/core/REST/SugarRestJSON.php(100): MySugarRestServiceImpl_4_1_VIWhatsappIntegration->vi_search_records_by_mobile_number()\n#2 /var/www/html/dinamica/service/core/SugarRestService.php(137): SugarRestJSON->serve()\n#3 /var/www/html/dinamica/service/core/webservice.php(70): SugarRestService->serve()\n#4 /var/www/html/dinamica/custom/service/v4_1_VIWhatsappIntegration/VIWhatsappIntegrationRest.php(26): require_once('...')\n#5 {main}\n thrown in /var/www/html/dinamica/custom/service/v4_1_VIWhatsappIntegration/MySugarRestServiceImpl_4_1_VIWhatsappIntegration.php on line 1662, referer: https://web.whatsapp.com/
I´m using the [admin] SuiteCRM user, so permissions shouldn´t be an issue.
We also run the "chmod" / "chown" sequence of commands to reset any filesystem permissions that might be the source of this error, but without luck.
5 days ago
Hello,
Apologies the problem you're facing.
Is it possible for you to share your CRM Login Credentials and FTP Details where you hosted your CRM?
If yes then share with us on "techsupport@varianceinfotech.in" so we can check your issue and you'll get quick solution.
Regards,
Variance Infotech PVT LTD.