TPL-COMPONENT-PHP-001

templates/protostar/component.php

component.php error chrome

Error and print views use a reduced document. Old component.php often still loads MooTools/Bootstrap 2.

templates/protostar/component.phpCassiopeia/Atum component.php (clean document)

Dies at Joomla 3 → 4J3: Works nativelyJ4: Changed behaviourJ6: Changed behaviourBC plugin: not applicableYou rewrite thisTemplates

Symptoms people search

print page unstyled · error.php broken · component.php

Replace this code

Swap templates/protostar/component.php for Cassiopeia/Atum component.php (clean document).

Joomla 3

Remove or stop calling this

Joomla 3 component.php loading the whole template chrome for errors/print

Joomla 4 / 6

Use this instead

Use the J4+ component.php. Error documents are cleaner — do not assume Protostar head assets.

How to fix it

  1. 1Replace component.php from Cassiopeia.
  2. 2Load assets via WAM only.

Also known as

component.php · error.php

Related issues

Get in touch

Have a project in mind? Let's talk about it.

Tell us what you're building. Whether it's a new site, an online store, a mobile app, or something that needs AI under the hood, we'll get back to you within a business day.

Free consultation
No commitment, no pressure
Reply within 24 hours
Usually much faster

Prefer a direct conversation?

Request a project quote

Tell us about your project

Fill out the quick form and we'll reach out.