Hi,
with the last patch (3) I still had a blank page for whatever the page.
Fatal error: Declaration of JoomShaper\SPPageBuilder\DynamicContent\Model::offsetExists(JoomShaper\SPPageBuilder\DynamicContent\mixed $offset): bool must be compatible with ArrayAccess::offsetExists($offset) in /administrator/components/com_sppagebuilder/dynamic-content/Model.php on line 419
I'm with joomla 3.10.12 with PHP 7.4.33
The issue is related to PHP 8's type declarations in the ArrayAccess interface implementation.
Fix is to modify the Access interface methods (offsetGet, offsetSet, offsetUnset) by removing the 'mixed' type hint from their parameters.
So in Model.php I 've changed to :
public function offsetExists($offset): bool
{
return isset($this->item->$offset);
}
public function offsetGet($offset): mixed
{
return $this->item->$offset;
}
public function offsetSet($offset, $value): void
{
$this->item->$offset = $value;
}
public function offsetUnset($offset): void
{
unset($this->item->$offset);
}
And now it's ok
But still can't acces SP Page Builder Administration (500 error)
Regards