- Posts: 3
- Thank you received: 0
Need help with Joomla? We are available for hire to help with Joomla customization, upgrades, maintenance, and custom development.
Explore our services POW Capture not working on Group Registrations
- AV/IT
- Topic Author
- Offline
- New Member
-
Less
More
2 weeks 6 days ago - 2 weeks 6 days ago #178705
by AV/IT
POW Capture not working on Group Registrations was created by AV/IT
Hi,
i turned on joomlas POW (Proof-of-Work) capture, acitvated capture in the Events Booking config and it instantly worked for the single person registration.
If i try a group registration i get this:
"Deprecated: base64_decode(): Passing null to parameter #1 ($string) of type string is deprecated in /plugins/captcha/powcaptcha/src/Provider/POWCaptchaProvider.php on line 130"
Shouldn´t it just work like the single registration?
Regards
Sascha
i turned on joomlas POW (Proof-of-Work) capture, acitvated capture in the Events Booking config and it instantly worked for the single person registration.
If i try a group registration i get this:
"Deprecated: base64_decode(): Passing null to parameter #1 ($string) of type string is deprecated in /plugins/captcha/powcaptcha/src/Provider/POWCaptchaProvider.php on line 130"
Shouldn´t it just work like the single registration?
Regards
Sascha
Last edit: 2 weeks 6 days ago by AV/IT.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
2 weeks 6 days ago #178719
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic POW Capture not working on Group Registrations
Hi Sascha
I will have to check it and get back to you later. Look like POWCaptcha is not implemented properly to support form loaded by ajax yet.
While waiting for me to check and find a solution (not easy, I am afraid of), can you try to use a different captcha plugin ?
Regards,
Tuan
I will have to check it and get back to you later. Look like POWCaptcha is not implemented properly to support form loaded by ajax yet.
While waiting for me to check and find a solution (not easy, I am afraid of), can you try to use a different captcha plugin ?
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- AV/IT
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 3
- Thank you received: 0
2 weeks 6 days ago - 2 weeks 6 days ago #178725
by AV/IT
Replied by AV/IT on topic POW Capture not working on Group Registrations
Last edit: 2 weeks 6 days ago by AV/IT.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
2 weeks 6 days ago #178726
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic POW Capture not working on Group Registrations
OK. Thanks. But we might have to update the plugin from Joomla core to support rendering captcha for group registration (the process is handled by ajax, not like the other forms)
Tuan
Tuan
Please Log in or Create an account to join the conversation.
- AV/IT
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 3
- Thank you received: 0
2 weeks 6 days ago #178727
by AV/IT
Replied by AV/IT on topic POW Capture not working on Group Registrations
I also tested enabling POW to run automatically, instead of only running on focus. The error remains the same.
Assumption:
The ALTCHA/POW widget is rendered and/or solved, but the generated captcha payload is not being sent with the Ajax submit. As a result, Joomla appears to receive null in checkAnswer() instead of the expected base64-encoded payload.
Maybe you could you check whether all form fields are being submitted via FormData(form) during the Ajax request, especially the dynamically generated captcha/ALTCHA hidden field? It is possible that the Ajax payload is being assembled manually, or too early, before the POW captcha has written its value into the form.
If there is no captcha/ALTCHA value, the issue is likely in the plugin’s Ajax submit logic.
If there is a value, the next suspicion would be that the field name does not match what Joomla expects. For example, the plugin might send `altcha`, while Joomla expects the value under the Joomla captcha field name, such as `captcha` or `jform[captcha]`.
So the automatic POW execution only solves the proof-of-work challenge. The actual issue is most likely the transmission of the result in the Ajax request.
Assumption:
The ALTCHA/POW widget is rendered and/or solved, but the generated captcha payload is not being sent with the Ajax submit. As a result, Joomla appears to receive null in checkAnswer() instead of the expected base64-encoded payload.
Maybe you could you check whether all form fields are being submitted via FormData(form) during the Ajax request, especially the dynamically generated captcha/ALTCHA hidden field? It is possible that the Ajax payload is being assembled manually, or too early, before the POW captcha has written its value into the form.
If there is no captcha/ALTCHA value, the issue is likely in the plugin’s Ajax submit logic.
If there is a value, the next suspicion would be that the field name does not match what Joomla expects. For example, the plugin might send `altcha`, while Joomla expects the value under the Joomla captcha field name, such as `captcha` or `jform[captcha]`.
So the automatic POW execution only solves the proof-of-work challenge. The actual issue is most likely the transmission of the result in the Ajax request.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
2 weeks 6 days ago #178728
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic POW Capture not working on Group Registrations
Not that simple. I think I know the reasons, but need to check more the source code of the plugin. This could not be solved by just adding code to Events Booking, but also by the pow captcha plugin
I will see what I can do with it
Regards,
Tuan
I will see what I can do with it
Regards,
Tuan
The following user(s) said Thank You: AV/IT
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
Copyright © 2026 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.