"Add entry" button fails after the first use.

Created on 20 October 2023, 8 months ago
Updated 3 November 2023, 8 months ago

Problem/Motivation

I'm having this error whenever I want to add a new entry as a query parameter. As soon as I click on the "Add entry" button, I see the ajax starts to loading and debugging the console I can see the following error:

Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 167776256 bytes) in /var/www/html/web/core/lib/Drupal/Component/Serialization/PhpSerialize.php on line 14

Also it is visible using the dblog Drupal's module

Steps to reproduce

- Create a new Form
- Edit it like this: "formassembly/fa_form/1/edit"
- Fill with values the query parameter key and value and try to add another one
- If above's process doesn't work try to add a second pair of key=>values
- You should see an "Oops, something went wrong. Check your browser's developer console for more details."
- If you debug the request using the dev tools of your browers, you should be able to visualize the Ajax request and the response should be something like the error mentioned at the beggining of this isuee.

Proposed resolution

In my local environment sometimes the add entry works for the first time so I suspect it is a matter of giving more time to the request to try to process thewhole operation in there

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇦🇷Argentina DarkteK

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024