entity_autocomplete #default_value gives 2 errors when NULL

I've got my custom compound field module working (D8), but I get some errors at the top of the edit page, relating to #default_value when NULL. I'm wondering if I might've stumbled across an instance of an issue others have encountered, here: https://www.drupal.org/project/drupal/issues/1470236

What I have are two entity_autocomplete within the compound field, referencing a taxonomy. My issue pops up with the "#default_value" for each of these if they are empty fields (NULL).

Drupal 8 Role of Users Update with Rules settings

Drupal 8 Role of Users Update with Rules settings

After admin save the role to user, E.g. subscriber A, subscriber B, subscriber C

1, Auto update user account fields(ready created): Subscribe Start(current), Subscribe End(current + 3 months/A, 6 months/B or 12 months/C)

2, Set link with Send notice to subscriber after 1 achieved.

3, Let admin click link to send notice to user for new role.

4, Remove the role when the current date >= Subscribe End

how to add 'remove' button on custom compound field

In Drupal 8, I've created a custom compound field module with 4 fields ( a couple taxonomy select fields, and a couple taxonomy tag-style fields)

All is well, and not bad for my first time at this, but...

In testing the field, I set it to "unlimited," as needed in my use-case, and added a few entries to my content type. Everything works, but there's no 'remove' button for each of the entries. No way to delete that field.

Drupal 8, Nginx Reverse Proxy.

Drupal 8 website, NGINX + Apache. All seems to work fine except few places show the IP:PORT instead of the domain, like in: canonical tag; Default front page under Home\Administration\Configuration\System.

For example, Public file base URL under Home\Administration\Configuration\Media shows the domain, menu and CSS links are fine.

Thanks in advance for any help.

Problem display Apostrophe in the title of a drupalAjax popup

Hi everyone, 

I'm using DrupalAjax module, and in some cases I'm displaying a popup which the title conatins Apostrope ( ' ) . The display is wrong  and always replace it by ' 

Do you suggest any solution please?

Displaying error message using json encode

Hi,

I wanted to display the error messages in druapl 8 using json-encode.

I tried the following method, "Link" But i get The Website encountered an error message when I implement that code. If i comment out my hook_form_alter function then there is no error.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x