Active
Project:
HTTP Status Code
Version:
8.x-2.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
28 Mar 2026 at 11:24 UTC
Updated:
28 Mar 2026 at 11:31 UTC
Jump to comment: Most recent
The source code of HTTPStatusSubscriber needs changes.
When trying to access some URL which is included the http_status_code entity list the code throws:
Error: Cannot access protected property Drupal\http_status_code\Entity\HTTPStatusEntity::$status_code...
Refactor HTTPStatusSubscriber by changing: $set_status->status_code to $set_status->get('status_code')
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments