I’ve repeatedly encountered an error related to this file:
public_html/membership/administrator/components/com_conditions/src/Model/ItemModel.php
The error appears on lines 885 and 890. Here’s the full error message:
2025-02-11 15:50:11.918069 [NOTICE] [1675201] [T0] [127.0.0.1:48534#APVH_xxxxx.com:443] [STDERR] PHP Warning: Attempt to read property "table" on null in /home/xxxx/public_html/xxxx/administrator/components/com_conditions/src/Model/ItemModel.php on line 890\n
Current version
=============
COM_CONDITIONS
=============
name: COM_CONDITIONS
type: component
state: Enabled
author: Regular Labs (Peter van Westen)
version: 25.2.4916
creationDate: February 2025
authorUrl:
regularlabs.com
I’m also running Joomla 5.2.3.
Please advise if there’s a known fix for this or if it’s something that will be addressed in an upcoming update.
I took a backup and updated the files. Is there a way you know to trigger this check? I havent seen any errors but Im only working in admin on ReReplacers. Should that be updated as well?
The issue would happen if an item would try to load a condition that no longer exists.
If you install the dev version of Advanced Module Manager or ReReplacer, it will update the code in the Conditions component, as they both include that.
The Conditions component is also included in Conditional Content and Content Templater.
OK, I have updated all the plugins I have that included this. Checked the logs this morning and there are no more errors, where I was seeing them every morning and throughout the day before. If I see it again, I will let you know. THANK YOU!