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

Error Log Truncating

Hello,

I recently disabled the database logging module on my site and I'm using the default error.log file provided by Apache. However I'm experiencing an issue where my error logs are being truncated. So for example, when I get an error message with database logging turned on, it appears as such:

TypeError: Return value of geocoder_geocoder_provider_info_alter() must be an instance of void, none returned

Hello everybody. I try to install geocoder module upload KML files. However, when comes the moment to set up the geocoder_provider, I go to the /admin/config/system/geocoder/geocoder-provider. But here I get the following error:

weird GET coming out of the blue

Hello.

Drupal Log Messages Being Truncated

Hello,

Run AJAX cascaded

I am new here, just started to write a module. I am facing a issue to calculate a field and then calculate another field. Here in example, calculate amount in a line item, and on the field amount changed, calculate the total value.

Here is the total value field.

 
    $form['total']['#prefix'] = '<div id="total_value">';
    $form['total']['#suffix'] = '</div>';
    $form['total']['#attributes']['readonly'] = TRUE;

This is the field definition

How to load entities with Null value in Drupal 8

The following fails with an invalidqueryexception

\Drupal::entityTypeManager()->getStorage('foo_module_division')->loadByProperties(['enabled'=>TRUE, 'parent_code'=> NULL]).

How else do I specify that I want to load entities whose parent_code field is NULL

Pages

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