# GrapesJsBuilderIntegration Mautic issue

**URL:** <https://forum.mautic.org/t/grapesjsbuilderintegration-mautic-issue/31798>\
**Category:** Product Support\
**Created:** [April 23, 2024, 9:42am UTC](https://forum.mautic.org/t/grapesjsbuilderintegration-mautic-issue/31798 "2024-04-23T09:42:21Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![gowtham2024](https://avatars.discourse-cdn.com/v4/letter/g/4491bb/32.png) [@gowtham2024](https://forum.mautic.org/u/gowtham2024)\
**Post date:** [April 23, 2024, 9:42am UTC](https://forum.mautic.org/t/grapesjsbuilderintegration-mautic-issue/31798/1 "2024-04-23T09:42:21Z")

</div>

**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

---

<div class="post-metadata">

**Author:** ![gowtham2024](https://avatars.discourse-cdn.com/v4/letter/g/4491bb/32.png) [@gowtham2024](https://forum.mautic.org/u/gowtham2024)\
**Post date:** [April 23, 2024, 9:46am UTC](https://forum.mautic.org/t/grapesjsbuilderintegration-mautic-issue/31798/2 "2024-04-23T09:46:22Z")

</div>

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'; } }

---

<div class="post-metadata">

**Author:** ![gowtham2024](https://avatars.discourse-cdn.com/v4/letter/g/4491bb/32.png) [@gowtham2024](https://forum.mautic.org/u/gowtham2024)\
**Post date:** [April 23, 2024, 9:49am UTC](https://forum.mautic.org/t/grapesjsbuilderintegration-mautic-issue/31798/3 "2024-04-23T09:49:44Z")

</div>

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]] [\>

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [April 23, 2024, 10:19am UTC](https://forum.mautic.org/t/grapesjsbuilderintegration-mautic-issue/31798/4 "2024-04-23T10:19:22Z")

</div>

Are you sure it’s Mautic 4.4.11 ?

---

<div class="post-metadata">

**Author:** ![gowtham2024](https://avatars.discourse-cdn.com/v4/letter/g/4491bb/32.png) [@gowtham2024](https://forum.mautic.org/u/gowtham2024)\
**Post date:** [April 23, 2024, 1:19pm UTC](https://forum.mautic.org/t/grapesjsbuilderintegration-mautic-issue/31798/5 "2024-04-23T13:19:24Z")

</div>

4.4.10

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

[image|690x191](https://forum.mautic.org/uploads/short-url/uBtIRP3gdy3IABMgTTwJfr6eP3r.png)

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/1X/43c63600fe51440378769136903f1fa2a9a34102.png) [@system](https://forum.mautic.org/u/system)\
**Post date:** [April 25, 2024, 1:19am UTC](https://forum.mautic.org/t/grapesjsbuilderintegration-mautic-issue/31798/6 "2024-04-25T01:19:44Z")

</div>

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