Fatal error when attempting to access theme settings

Created on 31 July 2023, over 1 year ago
Updated 7 August 2023, over 1 year ago

Steps to reproduce

Install the DXPR Marketing Distribution
Navigate to https://subdomain.example.com/web/en/admin/appearance/settings/dxpr_theme

Error:
The website encountered an unexpected error. Please try again later.
RuntimeException: Failed to start the session because headers have already been sent by "/subfolder/web/themes/contrib/dxpr_theme/theme-settings.php" at line 41. in Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start() (line 132 of subfolder/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php).

Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start() (Line: 144)
Drupal\Core\Session\SessionManager->startNow() (Line: 109)
Drupal\Core\Session\SessionManager->start() (Line: 59)
Symfony\Component\HttpFoundation\Session\Session->start() (Line: 240)
Drupal\big_pipe\Render\BigPipe->performPreSendTasks() (Line: 295)
Drupal\big_pipe\Render\BigPipe->sendContent(Object) (Line: 112)
Drupal\big_pipe\Render\BigPipeResponse->sendContent() (Line: 423)
Symfony\Component\HttpFoundation\Response->send() (Line: 20)

When the DXPR Theme is installed individually, it works fine.

Specs:

Drupal Version
10.1.1

Web Server
Apache

PHP
Version
8.2.8

Memory limit
512M

Database
Version
5.7.23-23

System
MySQL, Percona Server, or equivalent

πŸ› Bug report
Status

Closed: duplicate

Version

5.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States creact

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024