Your software
My Mautic version is: 4.4.4
My PHP version is: 7.4
My Database type and version is: 10.5
Your problem
Getting the following error message when setting up Self-hosted Vtiger integration via Plugin.
[2022-11-22 21:08:24] mautic.WARNING: PHP Warning - preg_match() expects parameter 2 to be string, array given - in file /var/www/html/mautic/app/bundles/PluginBundle/EventListener/IntegrationSubscriber.php - at line 93 {“event”:“[object] (Mautic\PluginBundle\Event\PluginIntegrationRequestEvent: {})”,“response”:“[object] (GuzzleHttp\Psr7\Response: {})”,“headers”:“array (\n ‘Date’ => \n array (\n 0 => ‘Tue, 22 Nov 2022 21:08:24 GMT’,\n ),\n ‘Server’ => \n array (\n 0 => ‘Apache’,\n ),\n ‘Expires’ => \n array (\n 0 => ‘Thu, 19 Nov 1981 08:52:00 GMT’,\n ),\n ‘Cache-Control’ => \n array (\n 0 => ‘no-store, no-cache, must-revalidate’,\n ),\n ‘Pragma’ => \n array (\n 0 => ‘no-cache’,\n ),\n ‘Transfer-Encoding’ => \n array (\n 0 => ‘chunked’,\n ),\n ‘Content-Type’ => \n array (\n 0 => ‘application/json’,\n ),\n)”,“name”:“VTIGER”,“isJson”:false,“json”:“”,“xml”:“”}
These errors are showing in the log:
Showing this error when running cronjob
Vtiger is not authorized