Content type causes white page just for guests

I use a Barrio SASS Subtheme Theme with Drupal 8.
I created a content type for news and a views list to display the news wit ha teaser text and a read more link.

The problem is that if I click at a news to read the full nws it causes a white page, which is a 500er I guess, when I'm not logged in.
As admin all news are visible. It is strange that some news are also visible for guests without any error.

This behavoir is just with my theme. If I change the theme to Bartik or any other theme all news nodes are working.

IP address banned.

I tried logging on to a site (devblog.no) too many times, and my IP address got banned (apparently permanently). What to do when I cannot log in and access the Ban module?

It should be possible to change the IP address, at the cmd prompt, entering first "ipconfig /release" and then "ipconfig /renew", but this does not work. 

Reading json string function

I have this data and this is set to $data variable.

[
  'type' => 'app',
  'metadata' => [
    'field_application_id' => '{"value":"70001"}',
    'field_x_cient_id' => '{"value":"31"}',
  ],
  'created_at' => '2022-11-30T16:14:58.211Z'
]

I am trying to get the value of field_application_id=>value to get 70001 but not sure what would be the xpath

I can get the data using this $x_1 =  $data['metadata']['field_application_id'];  but it returns {"value":"70001"}

[Solved] Overrided views exposed filter does not display special chars in select options.

I recently overrided a views exposed filter by converting some textfields to select.

The problem now is html special characters won't display on screen.

E.g

Code
<option>$1,000,000</option>

Expected Display
$1,000,000

Actual Display
1000000

The '$' and ',' is removed..

I have even tried htmlentities() but no luck there.
I even tried adding the html code directly

Anybody has any idea what I should do.

Here is some of the code:

How to display the child terms, of the terms, on the terms page ?

In Drupal there is a View page to make the nodes attach to the term :

/admin/structure/views/view/taxonomy_term

I need this View to show the nodes belonging to the term and its child terms.

Here is an example :

- term 1

- term 2

- - term 3

- - term 4

- term 5

I have a node attached to term 3.

If I go to the page of term 2, I want the nodes that are attached to this term or its child terms to be displayed. 

So the node attached to term 3 must appear on the page for term 2.

Re-platformed Allianz’s benefits program with decoupled Drupal

Allianz website interface with a man facing right side and text written in blocks and boxes

OpenSense Labs re-platformed Allianz's global loyalty program into an enterprise-grade scalable app with an enhanced digital experience.

Sectors: 
Banking and Financial

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x