Error: 0 Call To A Member Function AddStyledeclaration() On Null - Custom css throws error - Forum | JoomShaper
Solved Templates

Error: 0 Call To A Member Function AddStyledeclaration() On Null - Custom css throws error

Asked by PhoenixGB 1 year ago Last activity 1 year ago

Adding ANY custom css to the Podcasta template, throws this error.

Error: 0 Call To A Member Function AddStyledeclaration() On Null

Please advise on the fix ASAP

Accepted answer

Marked as the solution
PhoenixGB Asked this

This is the answer, template needs amending at Joomshaper tho.

https://www.joomshaper.com/forum/question/17175

It's really weird, Google finds that thread but the forum search doesn't. Yes using a custom.css is fine however it's a mistake in the index.php that needs addressing.

3 more replies

Atick Eashrak Shuvo Staff

Hello PhoenixGB,

Sorry for the inconvenience you're experiencing with the custom CSS error.

To help me investigate this further, would you be willing to grant me temporary administrative access to your site? This will allow me to thoroughly examine the issue and find a solution.

Before you share any credentials, please ensure you've created a complete backup of your site to safeguard your data.

Looking forward to your response.

Best regards

Paul Frankowski Senior Staff

Hi,

Maybe by now use custom.css file instead. You know it from documenation. It's even better.

Paul Frankowski Senior Staff

It's really weird, Google finds that thread ...

Not really. Probably Google also knows what you ate for lunch yesterday and "what you did last summer" ;)

But indeed, some template code indeeds update.

Log in to reply.