Can´t run database update script on 8.1.8 / 8.2.x "Your /settings.php file must define the $config_directories variable..."

Hi I can´t run database update script when install new module or updating to 8.1.8 and 8.2.x keep getting this message:

Not present - Your /settings.php file must define the $config_directories variable as an array containing the names of directories in which configuration files can be found. It must contain a sync key.

Any help?

Theme not loading

I've been searching for a solution for about two days. I finished installing Drupal 8.1.8, server 2008 R2, iis... The issue I have is the default theme (Bartik 8.1.8) never seems to load. Everything is on the left hand side of the page. I tried adding the Integrity theme which shows up in the list just fine and I set it as the default with the same results. Any idea where I went wrong?

Build Drupal 8 Comment Tagging Feature

Drupal 8 enables different comment types. However to my knowledge, you cannot include different comment types in the same comment thread. If that is possible, I would like to know how to do it.

As a work around, I want to tag comments in the same thread according to their content. For example, if a user creates a comment with a video, they would choose from a drop down box and tag the comment with the term "video."

But instead of the word video showing as the tag, I want a video icon to show instead.

Fatal error on /node/add Drupal8.1.8

Hi there,
I have been adding content from an old HTML site to my Drupal 8.1.8 install and added sever hundered pages. Suddenly I get a error message "The website encountered an unexpected error. Please try again later." for any page node add ( but not node/add/article)

Logs give warning and two error messages
Warning: Error while sending QUERY packet. PID=1366 in Drupal\Core\Database\Statement->execute() (line 59 of /var/www/vhosts/


Group menus select list with optgroup "Drupal 8"

I am trying to group the menu links under optgroup for each of the menu parents, my menus are to big and there is at least 10 different ones, i been trying to use the api info for templete_preprocess_select() and form_select_options() but i seem unable to get it to work.

This is what i got so far in my venus.theme file, i get no errors but it does not output into optgroups.

Snippet within another snippet

Basically there are two ways to deal with this task.
The first one is using native Twig directive include, as follows:

  {% include '@snippet/header' %}

The second method may be carried out by creating a snippet variable of type “entity”.


Subscribe with RSS Subscribe to RSS - Drupal 8.x