Error messages when updating/saving modules and components in site backend.

Need help with the Administration of your Joomla! 3.x site? This is the spot for you.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Post Reply
nemmar
Joomla! Intern
Joomla! Intern
Posts: 73
Joined: Mon Sep 05, 2011 5:43 pm

Error messages when updating/saving modules and components in site backend.

Post by nemmar » Mon Jan 17, 2022 7:18 pm

Hi,

I am getting admin errors in my Joomla site backend when saving changes in components or modules. For example if I unpublish a module or make changes and then save I will get the error. I only get this problem on one of my sites, but not on the others. All my sites are updated equally with the same Joomla version, templates, extensions, settings and configs and on the same hosting server account.
Joomla! 3.10.4 Stable. Joomla Platform 13.1.0 Stable. PHP 8.0.14

The error message text changes based on what I am editing/saving, but they must all be caused by the same bug/extension issue. Can anyone tell me what might be causing this and how to find and fix it? Thank you! Here are a few of the error messages.

An error has occurred.
0 Attempt to assign property "id" on null
Return to Control Panel

An error has occurred.
0 count(): Argument #1 ($value) must be of type Countable|array, null given
Return to Control Panel

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 14607
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Error messages when updating/saving modules and components in site backend.

Post by toivo » Mon Jan 17, 2022 9:19 pm

It sounds as if at least one third party extension or the template is not compatible with Joomla or does not support PHP 8.0.

Change the level of error reporting to 'Maximum' and turn on the Debug in Global Configuration and then enable and configure the plugin System - Debug so that your usergroup, Super Users, can see the debug output. That way the detailed error message and the stack trace will give enough information to identify the culprit.

Please post the results from the Forum Post Assistant (FPA) by following the instructions at https://forumpostassistant.github.io/docs/ so that our volunteer experts can review the configuration.
Toivo Talikka, Global Moderator

nemmar
Joomla! Intern
Joomla! Intern
Posts: 73
Joined: Mon Sep 05, 2011 5:43 pm

Re: Error messages when updating/saving modules and components in site backend.

Post by nemmar » Mon Jan 17, 2022 11:37 pm

toivo wrote:
Mon Jan 17, 2022 9:19 pm
Please post the results from the Forum Post Assistant (FPA) by following the instructions at https://forumpostassistant.github.io/docs/ so that our volunteer experts can review the configuration.
Hi tovio,
Thank you very much for replying to my post. I ran the debug steps that you asked and I got the following errors in the 2 screenshots.
The Forum Post Assistant (FPA) link seems like a lot of steps, do I have to do that to find a way to fix the bug? Or do the 2 screenshots give enough info to disclose what is causing the errors?

https://drive.google.com/file/d/19QFbWD ... sp=sharing
https://drive.google.com/file/d/19QX8Pp ... sp=sharing

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 41275
Joined: Sat Apr 05, 2008 9:58 pm

Re: Error messages when updating/saving modules and components in site backend.

Post by Webdongle » Tue Jan 18, 2022 1:00 am

nemmar wrote:
Mon Jan 17, 2022 11:37 pm
...
The Forum Post Assistant (FPA) link seems like a lot of steps, ...
Download and unpack
Upload the fpa file
Point the browser and click a button
copy/paste
How complicated is that?
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 14607
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Error messages when updating/saving modules and components in site backend.

Post by toivo » Tue Jan 18, 2022 1:12 am

nemmar wrote:
Mon Jan 17, 2022 11:37 pm
The Forum Post Assistant (FPA) link seems like a lot of steps, do I have to do that to find a way to fix the bug? Or do the 2 screenshots give enough info to disclose what is causing the errors?
That could be enough, assuming that those are the only errors. It would still be good for you to check the FPA output in a dummy post here in the forum (because the format relies on BBCode), if you do not want to publish it, but at least you can review the inventory of third party extensions and their versions in a compact format.

The first issue is with the LiteSpeed Cache plugin. The LiteSpeed Github site has a version from less than 3 weeks ago that fixes some bugs.

The second issue comes from the eSHop component. Are you using the latest versions, 3.5.2, released on December 10, 2021?

Suggest that you edit the extensions table in the database and disable the LSCache plugin by changing the column 'enabled' from 1 to 0. After that you will hopefully be able to use the back end normally and update the third party extensions.
Toivo Talikka, Global Moderator


Post Reply

Return to “Administration Joomla! 3.x”