Creating topics
-
I am now having problems when creating topics and hitting submit button
The page I need help with: [log in to see the link]
-
I need to know the exact error which you will have received as an email
Thats the thing, no emails arrive. If I hit back the site is still functioning.
Also, note that I am using captcha 4wp plugin and it is setup to manage bbpress side. So bsp should not be getting involved with catcpa processing..
My current problem is that WordPress are introducing new coding protocols which mean that code that was perfectly fine, now has to have different functions added depending on the exact code. For my plugin that is around 2000 changes, which I am trying to introduce over time, but there is no way I can test every single change.
I think this is one of those as I spotted an potential error around that area.
I’m about to release a new version tonight which I hope will fix.
I understand. We appreciate your work. I added debug logging and gleaned the following:
Fatal error: Uncaught TypeError: implode(): Argument #2 ($array) must be of type ?array, string given in /home/storage/735/4165735/user/htdocs/wp-content/plugins/bbp-style-pack/includes/functions_bugs.php:675
Stack trace:
#0 /home/storage/735/4165735/user/htdocs/wp-content/plugins/bbp-style-pack/includes/functions_bugs.php(675): implode('</li>\n<li>', 'Array')
#1 /home/storage/735/4165735/user/htdocs/wp-content/plugins/bbp-style-pack/includes/functions_bugs.php(638): bsp_display_errors_at_top_of_topic_list()
#2 /home/storage/735/4165735/user/htdocs/wp-includes/class-wp-hook.php(324): bsp_check_errors('')
#3 /home/storage/735/4165735/user/htdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#4 /home/storage/735/4165735/user/htdocs/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#5 /home/storage/735/4165735/user/htdocs/wp-content/plugins/bbpress/templates/default/bbpress/content-single-forum.php(21): do_action('bbp_template_be...')
#6 /home/storage/735/4165735/user/htdocs/wp-includes/template.php(812): require('/home/storage/7...')
#7 /home/storage/735/4165735/user/htdocs/wp-content/plugins/bbpress/includes/core/template-functions.php(103): load_template('/home/storage/7...', false)
#8 /home/storage/735/4165735/user/htdocs/wp-content/plugins/bbpress/includes/core/template-functions.php(41): bbp_locate_template(Array, true, false)
#9 /home/storage/735/4165735/user/htdocs/wp-content/plugins/bbpress/includes/common/shortcodes.php(233): bbp_get_template_part('content', 'single-forum')
#10 /home/storage/735/4165735/user/htdocs/wp-content/plugins/bbpress/includes/core/theme-compat.php(614): BBP_Shortcodes->display_forum(Array)
#11 /home/storage/735/4165735/user/htdocs/wp-includes/class-wp-hook.php(324): bbp_template_include_theme_compat('/home/storage/7...')
#12 /home/storage/735/4165735/user/htdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters('/home/storage/7...', Array)
#13 /home/storage/735/4165735/user/htdocs/wp-content/plugins/bbpress/includes/core/sub-actions.php(477): apply_filters('bbp_template_in...', '/home/storage/7...')
#14 /home/storage/735/4165735/user/htdocs/wp-includes/class-wp-hook.php(324): bbp_template_include('/home/storage/7...')
#15 /home/storage/735/4165735/user/htdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters('/home/storage/7...', Array)
#16 /home/storage/735/4165735/user/htdocs/wp-includes/template-loader.php(104): apply_filters('template_includ...', '/home/storage/7...')
#17 /home/storage/735/4165735/user/htdocs/wp-blog-header.php(19): require_once('/home/storage/7...')
#18 /home/storage/735/4165735/user/htdocs/index.php(17): require('/home/storage/7...')
#19 {main} thrown in /home/storage/735/4165735/user/htdocs/wp-content/plugins/bbp-style-pack/includes/functions_bugs.php on line 675
There has been a critical error on your website.-
This reply was modified 1 month, 1 week ago by
Chuckie.
should be fixed in 6.2.1 just released, please confirm 🙂
Hi ! It certainly addresses that issue. But now highlights two others.
I tried creating a topic and hit submit, at the top it now shows:
Notice that one of them shows the captcha message with the HTML tags? What’s more, it is appearing twice. But, at the bottom of the page I only see if once, but correct:
Added to this, I don’t understand why the captcha failed and / or why it does not go from V3 to V2. So I am not sure at this stage if my ongoing issues are with BSP of CATCHPA 4WP. Either way, the latter plugin is supposed to be handling the recatchpa mechanism on my forum posts etc. I don’t know what is going on.
ok as a quick test, can you go to
dashboard>settings>bbp style pack>bbpress bug fixes and you will find
Fix new topic errors not showing – tick to exclude fix,
That will take my code out, and you can check that the errors are correctly displaying at the bottom.
If I exclude that fix then it shows just the correct information at the top and at the bottom. No displaying of the error twice at top, and no displaying with HTML tags.
But ofcourse, I still have the captcha not being satisfied. I think CATCHPA 4WP need to look at that.
I have an update for you from the developers of CATCHPA 4WP:
Upon closer inspection, I’ve identified that this form has three submit buttons. Under normal circumstances, the form is expected to have just one submit button. Our plugin specifically creates a clone of that button (identified with the class
Melapress Support'c4wp-submit'
) to track submissions and ensure proper functionality.They continued to say:
However, in this case, it seems that additional code (BSP plugin?) is introducing a third submit button, which is then hiding our cloned button via CSS and leaving the additional button as the only clickable option. This setup prevents our plugin from gaining the necessary control over the submit action, which is critical for triggering the V3 reCAPTCHA validation.
Melapress SupportHere is a snippet of the code:
I am grateful for your advice in how to resolve this. I need a way to omit the inclusion of the additional BSP button.
-
This reply was modified 1 month ago by
Chuckie.
Update, in the Topic Form settings section (point 5) I had it like this:
If I untick the option to add the spinner / submitting and then try the forum again, I get:
Now it reduces to 2 and it will work properly. The CATCHPA 4WP appears to be able to do its work because I was able to create a test message. It is just a pity that your spinner can’t be applied to the CATCHPA 4WP button instead for compatibility.
In effect they are saying that we both have the same solution ie hide the original button and add a second one. But if we both do that – then you have 1 one hidden , and 2 showing (?) only one can work, which happens to be mine !
Can you confirm whether with the spinner active, you are seeing 2 submit buttons?
I can then look at a solution
-
This reply was modified 1 month ago by
Robin W.
When the spinner is active in the settings I end up with two buttons in the code, one only one is visible to my knowledge and it is yours. As a result theirs is never used and the recatchpa mechanism fails.
Switching off your spinner makes it fully operational again. So I see one of two things here:
1. BSP has option to add the spinner to the catchpa 4wp button or2. catchpa 4wp rolls out it’s own spinner support.
Right now I have your setting switched off so that my forum no longer breaks and catchpa 4wp can operate as it should.
All understood. Your image
Imgur: The magic of the Internet
shows that two buttons should be visible. My question is with the spinner active, is this the case?
Once I know that answer I can think about a solution.
When I had the spinner active and was submitting, I could only visually see one button. You didn’t see 2 side by side or anything.
ok, thanks, I’ll need to take a detailed look at the code.
Do you set CATCHPA 4WP for bbpress, or is it automatically set?
-
This reply was modified 1 month, 1 week ago by
- You must be logged in to reply to this topic.