The example is using the module Articles Category, but I think can be any extension or process who do something similar.
Using the module Articles Category, put the Count option inside the Filtering Options tab, with 3 or more (you can put 0 in this way will show all articles). Also, inside the Display Options tab, show the introtext.
The module show the articles in the fronted
Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 8192 bytes) in....
Checking the code I think is related with the load method HTMLHelper::_(...)
.
I copy and paste the content of the method Joomla\CMS\HTML\Helpers\Content::prepare()
directly inside the Helper class of the module (without the need of use HTMLHelper::_('content.prepare'......)
) and all worked as expected....But really could not catch where the error is happening.
Labels |
Added:
No Code Attached Yet
|
@carlitorweb Do you see the call stack when switching on debug in global configuration?
No, unfortunately the page do not show the call stack. Just a white page with the error.
No, unfortunately the page do not show the call stack. Just a white page with the error.
So it Joomla 3 right? Can you please test the same on joomla 4
The error may be dute to a huge amount of content in your articles categories or one of them, (especialy when you set to "show all articles").
Can happen when one of articles contain huge base64 encoded image, or some kind of copy-paste from MS Office.
Just guessing.
Okay, strange then. No need screenshot.
I just checked, you can get a recursion when you show all child categories, and because one of Article is a demo for "Article category" module it tries to render all over again, you get a loop.
Do you have this issue on real world site?
What happens when you set option "Child Category Articles" to "exclude"?
Do you have this issue on real world site?
No, with bugtesting site I have. A cloned one.
I just checked, you can get a recursion when you show all child categories, and because one of Article is a demo for "Article category" module it tries to render all over again, you get a loop.
Interesting, let me check this
What happens when you set option "Child Category Articles" to "exclude"?
I had already on exclude. But I understand what do you mean, and then this only happen in a test site.
I will close the issue, but not sure if this classify as a bug? A module who render itself in a loop...
I think we cannot prevent such recursion.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2023-01-07 13:39:51 |
Closed_By | ⇒ | carlitorweb |
@carlitorweb Do you see the call stack when switching on debug in global configuration?