Extended field plugin

I’ve been playing around with Extended field plugin (https://github.com/TheDMSGroup/mautic-extended-field). Was able to add ~200 custom fields (object -extended field) and import data using forms into them. Problem is that I can’t pull data from these custom fields using Tags.

Did anyone try this plugin and was able to use Tags and get data from custom fields created by it?

A little bit more info about the plugin in this post: You have reached the limit of custom field allowed in your database

Has anyone tried this plugin? I have and I’ve now got a load of issues.

It seems to be causing an issue with fields that are more than just text - for example, have an existing select field. once I installed the plugin all forms and contacts that us this field no longer work ( i cant even open them)

has anyone else had this issue? if so how did you fix? error message below

help I’m desperate!

[2020-11-16 11:04:46] mautic.CRITICAL: Uncaught PHP Exception Doctrine\ORM\ORMException: “Entity ‘Mautic\LeadBundle\Entity\LeadField’ has no field ‘alias’. You can therefore not call ‘findOneByAlias’ on the entities’ repository” at /var/www/automate.marketingai.co.uk/vendor/doctrine/orm/lib/Doctrine/ORM/ORMException.php line 184 {“exception”:"[object] (Doctrine\ORM\ORMException(code: 0): Entity ‘Mautic\LeadBundle\Entity\LeadField’ has no field ‘alias’. You can therefore not call ‘findOneByAlias’ on the entities’ repository at /var/www/automate.marketingai.co.uk/vendor/doctrine/orm/lib/Doctrine/ORM/ORMException.php:184)"}

I know it’s not on the topic, but nevertheless: I wanted to uninstall the plugin because I wanted to upgrade my Mautic to version 3 and plugin seems not to support it, but I couldn’t do it. Didn’t have time to look deeper into this issue though…

1 Like

@simas yes I have the same issue. Having not received a response from anyone here I’ve tried to uninstall the plugin but can’t. now I’m stuck and can’t
even open any forms that have select fields or view some contacts.

If there is anyone out there that has resolved this please let me know.

Did you try to create new forms for example?
Do they work?

No, It would let me create the form and add a select field etc but as soon as I had saved it, it doesn’t work and I then won’t even let me back in to edit it. (or delete it)

It will let me create form that dont have select fields and these work fine (it just seems to be this type of field)

I’ve made a little bit of headway with this, thanks to an amazing Dev guy I know.

In the code, he found a call to a function that doesn’t exist. By investigating what the code does he made a guess what function was actually intended to be called by the developer of this plugin (and Mautic core as well, cause the call actually happens in the Mautic core).

so this has now allowed me back in and edit form, contacts etc and create new fields:

I now have two more issues:

  1. I can create a new contact through a form and everything works well (all fields populate). but when I update a contact through a form is does not update the extended field values.
  2. Even though I can add the new extend form field tokens to an email, it does not populate the content of that field when it goes out?

Any ideas?

Perhaps you could post your solution here so that we could all benefit? Is this working on M3?

2 Likes

Hello! So you found the solution and asking us all for more help (people most likely who need help with this) - did you not think to post your solution that your programmer found?

@mybpoconsultant

  1. let’s start by discussing your tone of voice on this forum. if you are looking for help on something may I suggest that you comment a little less confrontationally.

  2. now let’s talk about the Extend field plugin. As you will see from my last comment dated Nov 20 you will see that I commented that " I made a little bit of headway" this does not mean that I found a solution and if you read the comment previously you will see that the solution that I found was to allow the system to let me back into edit forms that the plugin had locked me out of. to be clear I have never got the plugin fully working and I would advise anyone looking at it to avoid it!!

If you are having an issue with being locked out from editing forms because of the extend field plugin please please do let me know (politely) and I will happily ask the developer that I worked with to solve the issue exactly what he did and I will pass it over to you.

in addition to my previous comment above, here is the link to the issues log in git hub that you may find of use: Issues · TheDMSGroup/mautic-extended-field · GitHub