Nantes - France
Account created on 18 July 2017, over 7 years ago
#

Recent comments

🇫🇷France sébastien-fr Nantes - France

Hello @dench0

The markup seems ok :

<input id="recaptcha-v3-token" class="recaptcha-v3-token form-control" data-recaptcha-v3-action="recaptcha_v3" data-recaptcha-v3-site-key="...

How can I check if Check if the captcha value is sent with form data on form submission on a registration form ?

🇫🇷France sébastien-fr Nantes - France

I just configured recaptcha v3 with v2 in fall back. I also have this error in the logs.

Google reCAPTCHA v3 validation failed: The response parameter is missing.

The form is /user/register

Module :
CAPTCHA 2.0.7
reCAPTCHA 8.x-3.4
reCAPTCHA v3 2.0.3

🇫🇷France sébastien-fr Nantes - France

Hello, I could not apply patch #159 with latest version of Conditional Fields (4.0.0-alpha6). But it is ok with 4.0.0-alpha5.

I haven't had time to look yet to see if this patch can be easily remade.

🇫🇷France sébastien-fr Nantes - France

@m

I upgraded from 4.0.0-alpha5 => 4.0.0-alpha6.

I tested again today and I still have this error. However, I did the update on another site and no problem.

🇫🇷France sébastien-fr Nantes - France

Same for us, can't deploy actually :
Failed to download elasticsearch/elasticsearch from dist: The "https://api.github.com/repos/elastic/elasticsearch-php/zipball/34c2444fa..." file could not be downloaded (HTTP/2 404 )

🇫🇷France sébastien-fr Nantes - France

Patch #3 fixes the problem. I had to apply the patch on the core as instructed. It didn’t work the first time even though I clear the cache every time I make a change. I have 2 “Configurable Views Filter Block” blocks, one of which is displayed with twig tweak and the settings were not taken into account but it finally worked by testing different combinations.

🇫🇷France sébastien-fr Nantes - France

Hello,

I had the same problem after an update to drupal 10.

For me, the problem does not come from the view but from an entity so I had to find which one. In my case, it was an entity created by a module that was causing problems with drupal 10. I could not delete the entity after the update. So I restarted the site before the update, disabled the problematic module. An option allows you to delete the associated entity. I did the update again and it worked. My advice, do the update again starting from a backup, delete the problematic entities before the update.

🇫🇷France sébastien-fr Nantes - France

Thank you for this topic because I encounter the same problem and I didn't understand because everything worked before.

Messages displayed with toast work in certain cases (for example when a user logs out) but it no longer works in a custom form if I do that for example.

\Drupal::messenger()->addStatus('Votre demande n\'a pas été enregistrée : ' . $test->reason);

If I disable BigPipe everything works.

🇫🇷France sébastien-fr Nantes - France

Hello,

I have a similar problem, the context is different but it seems to me to be related. When a client is not identified, the ajax modal works. When the client is identified, the modal does not work when the page loads. But if we choose a variation (change of variation in ajax), then the ajax modal works afterwards. I have no errors in the logs or in the js console. What I see is that add to cart button (.button--add-to-cart) is missing data-once="drupal-ajax" . If I add it like this it works :

$('.button--add-to-cart').attr('data-once', 'drupal-ajax');

It works but it's not ideal. We should see why this attribute is not added.

🇫🇷France sébastien-fr Nantes - France

Hello,

I had the same error with webform 6.2.2
I saw that in the confirmation email handler, the recipient of the email was “current email address” (authenticated only). I'm sure this was set correctly before. It changed after an update but I don't know more. The solution is to put the email field.

🇫🇷France sébastien-fr Nantes - France

I agree that address field 2 is not configurable in the UI if it is rarely used but the solution is not so easy to find when you do not know the address module. Thank you @ Berdir for providing us with this example.

I don't have any statics but the address_line2 field seems to me to be very widely used in France. It is used to indicate an additional address such as “building, floor, apartment”.

/**
 * Process callback for address element.
 */
function _custom_module_add_adress_label(array &$element, FormStateInterface $form_state, array &$complete_form) {
  $element['address_line2']['#title_display'] = 'before';
  $element['address_line2']['#title'] = t('Building / Floor / Apt');
  return $element;
}
🇫🇷France sébastien-fr Nantes - France

Thank you for the clarification.

Production build 0.71.5 2024