This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

The "X" entity type does not exist. in Drupal\Core\Entity\EntityTypeManager->getDefinition()

Hii, I'm surfing my website and then I´ve deleted a module called Sports League and a error message appears and I can´t dot nothing.

The following message appears:

Вопрос по Cron

Hello!

It was necessary to create a module that writes Drupal logs using cron and sends them to mail using hook_mail and (or) do_mail. Module created and included, did I do it right and how to see the result. I enclose the code ... THANKS!

cron_log_mail.yml name: 'cron log mail' description: 'simple cron log mail' package: modules_custom type: module core_version_requirement: ^ 8.8 || ^ 9 cron_log_mail.php

How to correct the error in my customize module ?

Type	php
Date	Vendredi, 21 août, 2020 - 16:22
Utilisateur	Anonyme (non vérifié)
Emplacement	https://www.example.com/fr
Référent	
Message	User warning : The following theme is missing from the file system: message_activity_stream dans drupal_get_filename() (/var/www/www-example-com/web/core/includes/bootstrap.inc ligne 295)
#0 /var/www/www-example-com/web/core/includes/bootstrap.inc(600): _drupal_error_handler_real(512, 'The following t...', '/var/www/www-s1...', 295, Array)

Error Bootstrap 4 when I´m not admin

I`m using Bootstrap 4 theme and I have some users with diferents roles. I´ve used a dropdown menu of bootstrap and it only works when I sign in with admin account. 

With another account the following message appears in the console of my browser :

Uncaught TypeError: Bootstrap's dropdowns require Popper.js.

I don´t know what happen, if this is due to the user permissions or what.

The commerce_product.field_produit_labels field needs to be updated

Hi, almost every time I delete a field in my product types I get this message popping up in my dashboard :

<blockquote>ENTITY/FIELD DEFINITIONS
Mismatched entity and/or field definitions
The following changes were detected in the entity type and field definitions.
Product
The commerce_product.field_produit_labels field needs to be updated.</blockquote>

It has not been possible to update entities with "Drush" for some time.

Why do I have these problems regularly ? This is only with the Commerce module.

Get value i n multiple select list in form

I have a field in form like this:

$form['equipo_local'] = array(
      '#type' => 'details',
      '#title' => $this
        ->t('<b>Equipo local</b>'),
      '#group' => 'information',
      '#open' => TRUE,

    );

    $form['equipo_local']['seleccion_local'] = array(
      '#type' => 'select',
      '#title' => t('<b> Equipo :</b>'),
      '#validated' => TRUE,
      '#required' => TRUE,
      '#options' => $this->dicc,


    );

Being $this->dicc a mutiple select list :

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions