Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 12d 06h 00m 28s
Claim 50% off
Staff replied SP Page Builder

Error 0 "Too Few Arguments To Function..." and blank page when using Form Builder after last SPPB update

Asked by Olivier DELORON 1 year ago Last activity 1 year ago

Hi,

The site becomes inaccessible (blank page) when using Form Builder Addon (or also Contact Form) displaying following message: "Error 0 Too few arguments to function Joomla/CMS/Session..."

My environment: Joomla 3.10.12 / PHP 8.2 / MySQL 8.0.40 / Template Fortune 2.0.2 (based on Helix) /SPPB 5.5.2

**I precise that this issue comes when updating SPPB from 5.5.1 to 5.5.2


Thank you for your help fixing this...

13 replies

Olivier DELORON Asked this

If needed, I created a user for you to examine the site.

Please find the credentiels in hidden content.

The backup is done, but I specify the site is in production so please take a great care :)

Thank you

Ziaul Kabir Staff

Hello Olivier,

Thanks for reaching out to us. Please allow us some time to investigate your issue.

Thanks for your understanding.

Best regards,

Olivier DELORON Asked this

OK thank you.

For your information, I'm in the process of updating a whole series of websites that I manage, and I'm experiencing the same problem on other sites...

See this screencap: https://prnt.sc/-C-yW37AyVaK

The problem gets off when downgrading to SPPB 5.5.1...

Olivier DELORON Asked this

I was aware of that.... Well thank you for your no-solution...

Alexander Hammer

Here it is the same:
Joomla Version 3.10.20 eLTS. When I update from SP Page Builder Version. 5.3.6 to 5.5.2 all is messed up:

0 - Too few arguments to function Joomla\CMS\Session\Session::getInstance(), 0 passed in /var/www/httpdocs/components/com_sppagebuilder/addons/ajax_contact/site.php on line 109 and at least 2 expected

thx Alexander

Alexander Hammer

Dear Ziaul,
since the usage of Joomla Version 3.10.20 eLTS and SP Page Builder V. 5.3.6 there was no such problem! Any idea of what is causing this issue?

If you do a major Upgrade of your Software, I agree, when cutting of old versions of Joomla. Bute betweeen a release?

Regards
Alexander

Ziaul Kabir Staff

It’s difficult to pinpoint the exact cause of the issue based on your scenario. I would recommend setting up a separate development environment and upgrading your Joomla 3 site to Joomla 4 or 5. Once everything is working fine, you can proceed with migrating your main site.

In the meantime, if SP Page Builder 5.3.6 is working well with your system, you can continue using it. The upgraded version of SP Page Builder may not be fully compatible with your current setup.

Let me know if you need further assistance.

Thanks,

Chris Elliott

I found that the problem lies with the Ajax Contact Addon. I had this issue as well and it was VERY easy to spot the error where it reports:

...components/com_sppagebuilder/addons/ajax_contact/site.php"

So I disabled the Ajax Content addon in my SP Page and the fault was fixed.

I had updated from SPPB 3.X to the latest 5.X and this issue was observed. This is on a J3 site.

I would suggest hiding any Ajax Contact Addons accross the board until Joomshaper fix the issue themselves/

Olivier DELORON Asked this

Hi Chris,

Thank you for your investigation.

Well I was aware it was due to the Contact Forms Addons (Form Builder or Contact Form)... It was precisely what I was pointing out (see my first demand above).

And I was asking for a solution to this very problem - not to be obliged to hide the forms waiting for a fix...

Chris Elliott

I agree Olivier. I am expecting that JS will dump the issue!

Olivier DELORON Asked this

So am I... ;)

Alexander Hammer

Here also!

Log in to reply.