After updating AMM to the latest version 10.1.3,...

Search
Other Bug Reports questions
Forum

After updating AMM to the latest version 10.1.3, our website started to crash (J 5.2.3)

Redaktor's Avatar Redaktor
After updating AMM to the latest version 10.1.3, our website started to crash. System message:
RegularLabs\Component\Conditions\Administrator\Model\ItemModel::getConditionById(): Return value must be of type ?object, bool returned

We are in a situation where we cannot turn off AMM. I tried to downgrade to version 10.1.2, then 10.1.1., but the problem persists. The only thing that helps is to enable System Debugging in Joomla settings. That makes the website work, but it is not possible to have the website published like this.

After reinstalling again to the latest version, the problem seemed to disappear, but after a short time it returned.
Deleting all rl_conditions in the cache will fix the problem. Of course, after some time the problem will occur again.

Is it possible to help us with this problem?


Thanks in advance,
Peter
Peter van Westen's Avatar Peter van Westen ADMIN
Please try the latest development version from:
regularlabs.com/development-releases
Please post a rating at the Joomla! Extensions Directory
Redaktor's Avatar Redaktor
Thanks for the quick response. I deployed the DEV version of AMM and so far everything seems OK.
Peter
Peter van Westen's Avatar Peter van Westen ADMIN
Ok, great 🙂
The fix will be included in the next release.
Please post a rating at the Joomla! Extensions Directory
Redaktor's Avatar Redaktor
Hallo Peter,
unfortunately, I don't have good news. The website crashes again after a while. Clearing the cache helps. It is probably related to the language version of the site. The English version works normally (does not crash).
Peter
Peter van Westen's Avatar Peter van Westen ADMIN
What errors do you get?
Please post a rating at the Joomla! Extensions Directory
Redaktor's Avatar Redaktor
2025-01-27T11:18:43+00:00 CRITICAL 46.135.11.145 error Uncaught Throwable of type Error thrown with message "Attempt to modify property "rules" on bool". Stack trace: #0 [ROOT]/administrator/components/com_conditions/src/Model/ItemModel.php(335): RegularLabs\Component\Conditions\Administrator\Model\ItemModel->disableRuleTypes()
#1 [ROOT]/administrator/components/com_conditions/src/Model/ItemModel.php(319): RegularLabs\Component\Conditions\Administrator\Model\ItemModel->getConditionById()
#2 [ROOT]/administrator/components/com_conditions/src/Api/Conditions.php(101): RegularLabs\Component\Conditions\Administrator\Model\ItemModel->getConditionByExtensionItem()
#3 [ROOT]/plugins/system/advancedmodules/src/Helper.php(308): RegularLabs\Component\Conditions\Administrator\Api\Conditions->setConditionByExtensionItem()
#4 [ROOT]/plugins/system/advancedmodules/src/Helper.php(60): RegularLabs\Plugin\System\AdvancedModules\Helper::pass()
#5 [ROOT]/plugins/system/advancedmodules/advancedmodules.php(118): RegularLabs\Plugin\System\AdvancedModules\Helper::prepareModuleList()
#6 [ROOT]/libraries/src/Plugin/CMSPlugin.php(289): PlgSystemAdvancedModules->onPrepareModuleList()
#7 [ROOT]/libraries/vendor/joomla/event/src/Dispatcher.php(454): Joomla\CMS\Plugin\CMSPlugin->Joomla\CMS\Plugin\{closure}()
#8 [ROOT]/libraries/src/Helper/ModuleHelper.php(377): Joomla\Event\Dispatcher->dispatch()
#9 [ROOT]/libraries/src/Helper/ModuleHelper.php(88): Joomla\CMS\Helper\ModuleHelper::load()
#10 [ROOT]/plugins/content/loadmodule/src/Extension/LoadModule.php(181): Joomla\CMS\Helper\ModuleHelper::getModules()
#11 [ROOT]/plugins/content/loadmodule/src/Extension/LoadModule.php(102): Joomla\Plugin\Content\LoadModule\Extension\LoadModule->load()
#12 [ROOT]/libraries/src/Plugin/CMSPlugin.php(289): Joomla\Plugin\Content\LoadModule\Extension\LoadModule->onContentPrepare()
#13 [ROOT]/libraries/vendor/joomla/event/src/Dispatcher.php(454): Joomla\CMS\Plugin\CMSPlugin->Joomla\CMS\Plugin\{closure}()
#14 [ROOT]/components/com_content/src/View/Article/HtmlView.php(237): Joomla\Event\Dispatcher->dispatch()
#15 [ROOT]/libraries/src/MVC/Controller/BaseController.php(697): Joomla\Component\Content\Site\View\Article\HtmlView->display()
#16 [ROOT]/components/com_content/src/Controller/DisplayController.php(122): Joomla\CMS\MVC\Controller\BaseController->display()
#17 [ROOT]/libraries/src/MVC/Controller/BaseController.php(730): Joomla\Component\Content\Site\Controller\DisplayController->display()
#18 [ROOT]/libraries/src/Dispatcher/ComponentDispatcher.php(143): Joomla\CMS\MVC\Controller\BaseController->execute()
#19 [ROOT]/components/com_content/src/Dispatcher/Dispatcher.php(56): Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch()
#20 [ROOT]/libraries/src/Component/ComponentHelper.php(361): Joomla\Component\Content\Site\Dispatcher\Dispatcher->dispatch()
#21 [ROOT]/libraries/src/Application/SiteApplication.php(218): Joomla\CMS\Component\ComponentHelper::renderComponent()
#22 [ROOT]/libraries/src/Application/SiteApplication.php(273): Joomla\CMS\Application\SiteApplication->dispatch()
#23 [ROOT]/libraries/src/Application/CMSApplication.php(306): Joomla\CMS\Application\SiteApplication->doExecute()
#24 [ROOT]/includes/app.php(58): Joomla\CMS\Application\CMSApplication->execute()
#25 [ROOT]/index.php(32): require_once('/var/www/html/w...')
#26 {main}
Peter van Westen's Avatar Peter van Westen ADMIN
Can you give me (super) admin and (s)ftp access so I can take a look?
And tell me on what url I can see/reproduce the issue.
You can use the 'Confidential information' button in the forum editor to hide sensitive information.
Please post a rating at the Joomla! Extensions Directory
Redaktor's Avatar Redaktor
Confidential information:
(hidden)
Peter van Westen's Avatar Peter van Westen ADMIN
I will need the ftp access to do the required tests in files.
If you can reproduce this on an online environment to which I can get access, I am happy to look into this.

IPv6: 2001:1c01:410e:1700:d18f:f29b:362a:cd79
IPv4: 85.147.255.149
Please post a rating at the Joomla! Extensions Directory
Redaktor's Avatar Redaktor
Confidential information:
(hidden)
Peter van Westen's Avatar Peter van Westen ADMIN
Yes, I will need write access in the ftp.
Probably only to everything in /administrator/components/com_conditions. Maybe also in /plugins/system/advancedmodules.
Please post a rating at the Joomla! Extensions Directory
Redaktor's Avatar Redaktor
Confidential information:
(hidden)
Peter van Westen's Avatar Peter van Westen ADMIN
Please try the latest development version from:
regularlabs.com/development-releases
Please post a rating at the Joomla! Extensions Directory
Redaktor's Avatar Redaktor
DEV version is installed
Peter van Westen's Avatar Peter van Westen ADMIN
Ok, so this fixes the issues?
Please post a rating at the Joomla! Extensions Directory
Redaktor's Avatar Redaktor
Confidential information:
(hidden)
Peter van Westen's Avatar Peter van Westen ADMIN
Can you give me some module ids which do not show up where they should (or show up where they shouldn't).
Also please double-check the conditions set on those modules.
Please post a rating at the Joomla! Extensions Directory
Redaktor's Avatar Redaktor
Confidential information:
(hidden)
Peter van Westen's Avatar Peter van Westen ADMIN
Please let me know if the new dev version is working as expected. If you see any unwanted behavour (after clearing the Joomla cache), let me know...
Please post a rating at the Joomla! Extensions Directory
You can only post on this forum if you log in