Skip to content

Error Page Injected into View Content #183

Description

@armanist

When an error occurs during the rendering of a view in the Quantum PHP framework, the error page gets injected directly in the middle of the partially rendered page. This causes the layout to become distorted, making the error page difficult to read.

Steps to Reproduce:

Trigger an error in any view (e.g., by referencing an undefined variable, calling a method on a non-object, etc.).
The error page (e.g., errors.general) is rendered directly within the body of the page where the error occurred, disrupting the page layout.
The output is malformed, and the error message is mixed with the page content, making it unreadable.
Expected Behavior:

When an error occurs, the error page should be rendered separately, not inside the page content.
The error page should be displayed fully, ensuring that no content from the original page interferes with it.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions