Cache invalidation not working after database migration

Hello,

I've just deployed a website for a client by creating a database dump of the "staging" site and restoring it to the "production" site. I had to truncate all cache tables to make it work.

Everything seems fine, except now cache invalidation using tags doesn't work anymore.

For example, I have a list of employees that are regenerated once a "person" node type is changed. The statement looks something like this:

\Drupal::cache()->set('employees', $employees, Cache::PERMANENT, [ 'node_list:person' ]);

CK Editor (default) does not apply classes from Views Field properly

After updating to Drupal 8.8.10 (from 8.6.14, so I don't know when this problem has started) - I noticed - that in some of my Views Blocks, which display Intro from Article body - the Font Size is Larger than usual....

I was surprised even more - because some Intro's were in expected size - and some in bigger font size....

need help using htaccess to forbid search page

I have been denying from all my search pages with

<FilesMatch "search|search/node">
  Order allow,deny
  Deny from all
</FilesMatch>

but on one site I am using the language module, so the main language page can be accessed at mydomain.com or mydomain.com/en and in french at mydomain.com/fr

Only mydomain.com/search is being blocked, but not mydomain.com/en/search

my filesmatch now looks like this, but still nothing

Drupal admin UI

Hi there, I'm trying to learn more about building UI systems for content creation. I have been reading the Drupal user guide and have seen the admin view in action. It seems that many CMS/ low code platforms share many UI elements (such as in the toolbar in this text post editor).

What is the history of the Drupal UI, is this something that was developed as unique to Drupal or is it shared with other platforms?

Are there any good resources that I could access to learn more about this topic?

Learning to make my own theme (template overrides) based on Radix

Hi,

Im a real beginner. Never build any websites before. Couple of months ago I decided that i wanted to learn Drupal and I have followed the Acquia tutorials on YouTube as a starter. After that I have started to build a site from my own idea and used all kind of tutorials found on YouTube. I am happy with the site I've created  and I would like  to make it look like exactly how I want it. But for that I am clearly missing some knowledge and I need some assistance what I should learn first.

Expected parameter of type \Node... \NodeInterface provided

I develop in PhpStorm and it is complaining with the message:

Expected parameter of type \Drupal\node\Entity\Node, \Drupal\node\NodeInterface provided

Does this suggest I'm doing something wrong? In my class I have something like the following...

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x