GrapesJsBuilderIntegration Mautic issue

Your software
My Mautic version is: 4.4.10
My PHP version is: 7.4
My Database type and version is: mysql (latest)

Your problem
My problem is: Mautic has been integrated with vtigercrm for information exchange and integration has been done in GUI perfectly and also GrapeJS is also enabled in mautic plugins. when i tried to check out in cron log, its showing below message

In FetchLeadsCommand.php line 94:

Attempted to call an undefined method named “isConfigured” of class “Mautic
Plugin\GrapesJsBuilderBundle\Integration\GrapesJsBuilderIntegration”.

mautic:integration:fetchleads [-i|–integration INTEGRATION] [-d|–start-date START-DATE] [-t|–end-date END-DATE] [–fetch-all] [-a|–time-interval [TIME-INTERVAL]] [>


Meanwhile, i have also shared coding in the /var/www/mautic/plugins/GrapesJsBuilderBundle/Integration/GrapesJsBuilderIntegration.php for your reference.

<?php declare(strict_types=1); namespace MauticPlugin\GrapesJsBuilderBundle\Integration; use Mautic\IntegrationsBundle\Integration\BasicIntegration; use Mautic\IntegrationsBundle\Integration\ConfigurationTrait; use Mautic\IntegrationsBundle\Integration\Interfaces\BasicInterface; class GrapesJsBuilderIntegration extends BasicIntegration implements BasicInterface { use ConfigurationTrait; public const NAME = 'grapesjsbuilder'; public const DISPLAY_NAME = 'GrapesJS'; public function getName(): string { return self::NAME; } public function getDisplayName(): string { return self::DISPLAY_NAME; } public function getIcon(): string { return 'plugins/GrapesJsBuilderBundle/Assets/img/grapesjsbuilder.png'; } } These errors are showing in the log: +---------+--------+----------+ | Channel | # sent | # failed | +---------+--------+----------+ Rebuilding contacts for segment 2 In FetchLeadsCommand.php line 94: Attempted to call an undefined method named "isConfigured" of class "Mautic Plugin\GrapesJsBuilderBundle\Integration\GrapesJsBuilderIntegration". mautic:integration:fetchleads [-i|--integration INTEGRATION] [-d|--start-date START-DATE] [-t|--end-date END-DATE] [--fetch-all] [-a|--time-interval [TIME-INTERVAL]] [> 0 total contact(s) to be added in batches of 300 0 total contact(s) to be removed in batches of 300 In FetchLeadsCommand.php line 94: Attempted to call an undefined method named "isConfigured" of class "Mautic Plugin\GrapesJsBuilderBundle\Integration\GrapesJsBuilderIntegration". mautic:integration:fetchleads [-i|--integration INTEGRATION] [-d|--start-date START-DATE] [-t|--end-date END-DATE] [--fetch-all] [-a|--time-interval [TIME-INTERVAL]] [> Steps I have tried to fix the problem: i tried to reload plugins using below command but nothing works. php /var/www/mautic/bin/console mautic:plugins:reload --env=prod Please help me in fixing this issue. Thanks

GrapeJSBuilderIntegration.php coding listed below

<?php declare(strict_types=1); namespace MauticPlugin\GrapesJsBuilderBundle\Integration; use Mautic\IntegrationsBundle\Integration\BasicIntegration; use Mautic\IntegrationsBundle\Integration\ConfigurationTrait; use Mautic\IntegrationsBundle\Integration\Interfaces\BasicInterface; class GrapesJsBuilderIntegration extends BasicIntegration implements BasicInterface { use ConfigurationTrait; public const NAME = 'grapesjsbuilder'; public const DISPLAY_NAME = 'GrapesJS'; public function getName(): string { return self::NAME; } public function getDisplayName(): string { return self::DISPLAY_NAME; } public function getIcon(): string { return 'plugins/GrapesJsBuilderBundle/Assets/img/grapesjsbuilder.png'; } }

Mautic cron log

±--------±-------±---------+
| Channel | # sent | # failed |
±--------±-------±---------+
Rebuilding contacts for segment 2

In FetchLeadsCommand.php line 94:

Attempted to call an undefined method named “isConfigured” of class “Mautic
Plugin\GrapesJsBuilderBundle\Integration\GrapesJsBuilderIntegration”.

mautic:integration:fetchleads [-i|–integration INTEGRATION] [-d|–start-date START-DATE] [-t|–end-date END-DATE] [–fetch-all] [-a|–time-interval [TIME-INTERVAL]] [>

0 total contact(s) to be added in batches of 300
0 total contact(s) to be removed in batches of 300

In FetchLeadsCommand.php line 94:

Attempted to call an undefined method named “isConfigured” of class “Mautic
Plugin\GrapesJsBuilderBundle\Integration\GrapesJsBuilderIntegration”.

mautic:integration:fetchleads [-i|–integration INTEGRATION] [-d|–start-date START-DATE] [-t|–end-date END-DATE] [–fetch-all] [-a|–time-interval [TIME-INTERVAL]] [>

Are you sure it’s Mautic 4.4.11 ?

4.4.10

but i fixed this grapeJS issue by small syntax change guided by you.

image|690x191

solution is instead of --integration Vtiger
i changed to -i Vtiger in that encircled postion in the image and it fixed the issue.

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.