Hi,
I am using SP Page Builder on several Joomla 3 sites.
Probably since the last update (4.0.5) the homepage of several websites (using SPPageBuilder as home).
The error message is
Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 266240 bytes) in ---/components/com_sppagebuilder/helpers/articles.php on line 400
So I investigated that file and the block that creates the issue is the following :
foreach ($rows as $row) {
if($include_subcategories) {
array_push($cats, $row->id);
if (self::hasChildren($row->id)) {
$cats = self::getCategories(array($row->id), $include_subcategories, true, $cats);
}
}
}
If I disable the following 3 lines then the sites do work again :
if (self::hasChildren($row->id)) {
$cats = self::getCategories(array($row->id), $include_subcategories, true, $cats);
}
Can you please provide asap a fix for this issue ?
(this is a request for Support since I have a valid licence. Txs)