Follow-up Required Joomla 6 : Custom Addon Compatibility Issue - Question | JoomShaper

Follow-up Required Joomla 6 : Custom Addon Compatibility Issue

jean luc trevilly

jean luc trevilly

SP Page Builder 6 days ago

Hello,

I am following up on my previous report, as I have not received any further response.

I would like to stress that this is not a request for a custom modification or a feature request.

The issue is that custom addons cannot currently be loaded correctly on Joomla 6 with SP Page Builder 6.7.0 without manually modifying the SP Page Builder core. The cause has been identified precisely in:

components/com_sppagebuilder/builder/classes/base.php

The code still references: Joomla\CMS\Filesystem\File which is no longer available in Joomla 6.

Replacing: File::exists($admin_file)

with: is_file($admin_file)

fixes the problem immediately.

I am currently using this workaround because I need to use my custom addon, but this is obviously not a sustainable solution: the modification will necessarily be overwritten by the next SP Page Builder update, causing the problem to return. I therefore believe this should be treated as a compatibility bug, rather than as an issue specific to my addon. Furthermore, the official documentation for creating custom addons still refers to SP Page Builder 4. A developer following your documentation should not have to modify the SP Page Builder core in order to use a custom addon with the current Joomla 6 / SP Page Builder 6 environment.

I would therefore appreciate a clear answer on two points:

Will the Joomla\CMS\Filesystem\File compatibility issue be fixed in an upcoming SP Page Builder release? Will the custom addon documentation be updated for SP Page Builder 6 / Joomla 6?

I understand that the issue has been forwarded to the development team, but given that the cause and the simple fix have now been identified, I would appreciate confirmation that this will actually be addressed.

Thank you.

0
7 Answers
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 4 days ago #230922

Hi Jean,

Thank you for the detailed follow-up and for identifying the exact source of the issue.

You are correct that this should be treated as a Joomla 6 compatibility issue rather than a custom-addon request. I have forwarded the affected file, code reference, and proposed fix to our development team for review.

At this stage, I cannot confirm the exact release version or timeline in which the fix will be included. However, the issue has been reported clearly as a compatibility bug, and the team now has the necessary technical details to investigate and address it.

Your feedback regarding the outdated custom-addon documentation has also been noted and forwarded to the relevant team. The documentation should reflect the current SP Page Builder 6 and Joomla 6 environment.

For now, please consider the core-file change a temporary workaround, as it may be overwritten during an SP Page Builder update. We will update this thread when we receive confirmation from the development team or when the fix becomes available in an official release.

Thank you again for your investigation and contribution.

-Regards.

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 4 days ago #230928

Thanks for accepting the answer.

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 3 days ago #230956

Hi,

Could you please keep a full site backup and give me your super admin access? So that I can check this issue on my end too.

0
jean luc trevilly
jean luc trevilly
Accepted Answer
2 days ago #231068

I can send you the SPPB add-on so you can reproduce the error.

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 2 days ago #231071

Hi,

Please give me it to me and also share a screencast video of that issue too.

Thanks.

0
jean luc trevilly
jean luc trevilly
Accepted Answer
15 hours ago #231351

I have provided a sharing link in the hidden content section. Install the add-on and activate it, then simply go to "Articles" in Joomla to trigger the error shown in the screenshot. If you modify: components/com_sppagebuilder/builder/classes/base.php

Replacing: File::exists($admin_file)

with: is_file($admin_file)

It works!

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 11 hours ago #231368

Ok thank you. I will forward it to our DEV team.

0