- Issue created by @mankin
- 🇷🇸Serbia levmyshkin Novi Sad, Serbia
Hi mankin, I had installed Mercury editor before, but I didn't try to use EPT modules with it yet. I will have a look Mercury + EPT modules today.
- 🇫🇷France mankin
Thanks!
I found a js error : Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 135168 bytes) in /****/web/core/lib/Drupal/Core/Field/WidgetBase.php on line 626".
I think this is not a problem with mercury editor, but memory. If i allocate 1024Mo to my website, i got the same error type.
"
Une erreur HTTP AJAX s'est produite.
Code de statut HTTP : 200
Debugging information follows.
Path: /node/2/edit?destination=/admin/content&ajax_form=1
StatusText: parsererror
ResponseText :
Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 135168 bytes) in ****/web/core/lib/Drupal/Core/Field/WidgetBase.php on line 626
Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 65536 bytes) in ****/web/vendor/composer/ClassLoader.php on line 576
Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 65536 bytes) in ****/web/vendor/composer/ClassLoader.php on line 576"This i my actually server's stats:
MemTotal: 3.73 GB
MemFree: 1.04 GB
MemAvailable: 1.59 GB - 🇷🇸Serbia levmyshkin Novi Sad, Serbia
Hey mankin, I installed locally EPT Columns and Mercury editor and after some testing it was working.
First of all check that you have Layout Paragraph field widget for all paragraph fields and set depth at least 4 for main component field (For content type Paragraph field and for EPT Columns paragraph field):
Also these EPT modules have paragraph fields:
https://www.drupal.org/project/ept_video_and_image_gallery →
https://www.drupal.org/project/ept_carousel →
https://www.drupal.org/project/ept_slick_slider →Try to disable EPT Column reference for Columns fields to avoid EPT Column in EPT Column:
After these settings it was working for me, but I couldn't make text fields working with Mercury in EPT Columns. Maybe I need to move text fields outside Content tab:
I will investigate it later, after finish with EPT Hero module. Mercury Editor looks promising for me. For now at least Layout Paragraphs is working with EPT modules:
https://www.drupal.org/project/layout_paragraphs → - Status changed to Closed: cannot reproduce
6 months ago 5:25pm 29 May 2024 - 🇷🇸Serbia levmyshkin Novi Sad, Serbia
I enabled Mercury for my Page content type and it's working as expected, at least for small number of content:
I think the problem is EPT Column allows to add EPT Column in Columns field. Try to update settings for Columns field on your site, I can't add names of paragraph types in config/install configs, because different sites will use different paragraph types. It would be cool to have multistep installation for Drupal modules, so you could select needed paragraph types for Columns field during installation. But I didn't face this functionality in Drupal ecosystem yet.
Feel free to reopen this ticket if you will struglling with EPT Columns + Mercury settings.
- 🇫🇷France mankin
Nice job! I'll recommend and show how to install EPT Bundle in a Youtube Video in french as soon ;-)
- 🇷🇸Serbia levmyshkin Novi Sad, Serbia
Cool, thank you! I'm planning also to create videos about EBT/EPT modules, but I'm busy on polishing EBT/EPT Hero. And now I'm thinking about Drupal distribution based on Mercury and EPT modules.
- 🇯🇲Jamaica axle_foley00
Thanks @levmyshkin, the steps you provided in #5 🐛 EPT Columns/container won't load Closed: cannot reproduce helped me with this same issue. While I am not using Mercury, switching to using the Layout paragraphs widget and setting the depth to at least 4 helped with the EPT Columns not displaying when selected. 👍🏽