Account created on 2 October 2018, over 6 years ago
#

Recent comments

🇷🇺Russia mr.pomelov

I also encountered this problem after updating Drupal 10 and the theme to the latest version.

The question 3499295 🐛 The display of many photos was broken when editing the paragraph element in the Gin theme. Active was redirected here.

🇷🇺Russia mr.pomelov

Yes, I did not check the obvious, the problem is really in the admin theme. Discussion within issues 3499852 🐛 Paragraphs Issue Active

🇷🇺Russia mr.pomelov

Created an entry in the Paragraphs module bug tracker: https://www.drupal.org/project/paragraphs/issues/3500838 🐛 The layout in paragraph editing mode with multiple file attachments and photos that have a description field is broken Needs work

At the moment, a temporary solution to the problem is to change the paragraph form settings. It is necessary to restore the outdated paragraph appearance in the material display settings mode.

🇷🇺Russia mr.pomelov

1) The admin updated the Gin theme to version 4.0.0 - it didn't work;
2) updated the module to the DEV version - it didn't work;
3) Disabled the module - the problem also remained.

Apparently, it is related to the paragraph module itself, or more precisely, to the stable form of displaying paragraphs. The problem affects multiple fields of images or files when they have a description enabled.

🇷🇺Russia mr.pomelov

I found out the reason for this behavior of the module - the IP address of the server where my site is located was blocked on SendPulse, so API requests did not go there.

u540084@red31:~$ curl -v https://api.sendpulse.com
* Rebuilt URL to: https://api.sendpulse.com/
* Trying 188.40.60.215...
* TCP_NODELAY set
* connect to 188.40.60.215 port 443 failed: Connection timed out
* Failed to connect to api.sendpulse.com port 443: Connection timed out
* Closing connection 0
curl: (7) Failed to connect to api.sendpulse.com port 443: Connection timed out

But this should not lead the site to a white screen, without the possibility of somehow influencing the situation through the user interface.

🇷🇺Russia mr.pomelov

I also get a similar error:

"Drupal\Core\Field\FieldException: Attempted to create an instance of field with name field_contest_worker on entity type node when the field storage does not exist. in Drupal\field\Entity\FieldConfig->getFieldStorageDefinition()."

Previously, I deleted the type of material that had the "field_contest_worker" field, now when deleting any field, such an error occurs. I tried to create the content type that I deleted again along with this field. Then I tried to delete it again, to no avail.

Drupal 9.5.11
php 8.1.17

I also use the field group 8.x-3.4 module in my work

🇷🇺Russia mr.pomelov

Thanks for the feedback, now there is no way to reproduce this error on a working project, I will wait for 2.0.0-rc2 and try to use it in my work

🇷🇺Russia mr.pomelov

Thanks for the feedback. The first thing I did was I wanted to redefine the template to those in the module folder, but this element is not rendered separately there. It looks a bit complicated for a beginner. In my case, the changes are reduced to prescribing the "display: none;" property to the element in CSS. I created a css file according to the documentation with the name "gin-custom.css", registered everything necessary there, but I don't see any changes. It's not clear from the documentation - does this file have to connect itself or do I need to add it as a third-party css library in the theme info file? In one of the answers you write that you need to add a file as libraries-extend, could you show an example of how to do this? It would also be an ideal addition to the documentation. A similar problem is described here, but here a person wants to add a file to his topic, it is not clear whether he succeeded or not: https://www.drupal.org/project/gin/issues/3316350

🇷🇺Russia mr.pomelov

Yes @gnuget, it will give you an empty value. I have just encountered this problem and have been looking for a solution for a long time. The method above works

🇷🇺Russia mr.pomelov

Work for me! D 7.97, PHP 7.4, views 3.29

🇷🇺Russia mr.pomelov

Confirm, D9.5.9 php 8.1.17

"PHP Fatal error: ob_get_clean(): Cannot use output buffering in output buffering display handlers in /var/www/chel-dpsh.ru/data/www/-----/vendor/twig/twig/src/Template.php on line 399"

I get this error on the page created by the views module. I display teasers of materials on the page, in the template of which I actively use the capabilities of the Twig Tweak module. In my case, the problem was in this module. In the module file TwigTweakExtension.php there really is an ob_end_clean();

To solve the problem:

  1. I applied a patch: https://gist.github.com/omahm/fadf6491c33487ddce54c43b9eb2c3a0#file-ob_g...
  2. Also increased the memory_limit value in php.ini from 128 to 1024
Production build 0.71.5 2024