-
AuthorPosts
-
April 19, 2024 at 2:20 pm #1440363
Hi,
We use an html element in a contact form to insert a recaptcha shortcut.
It has always worked correctly, but I think that since some update until now it doesn’t work well and shows the word Array on all the websites we have.
Can you tell me any solution?
Thanks in advance,
Jordi
April 20, 2024 at 2:56 pm #1440420Hey Empatica,
Thank you for the link to your site, please note that your html in the contact form is causing an error,
if you look at it the error message it has a link to help explain
to add html to the form you will need to use our Special Character Translation plugin
please review and try to follow the steps.Best regards,
MikeApril 22, 2024 at 10:16 am #1440505Hi Mike,
I have removed the link from the checkbox text and it continues to appear. Looking at the code, Array is shown by the next field, which is the recaptcha field. I have always used this format and it has never failed me. I copy the shortcode to an HTML field and it should not fail.
You already told me that it could be because the form does not give an error.
Greetings,
April 22, 2024 at 11:54 am #1440513Hi,
It looks like your the shortcode for your captcha plugin is causing this: [bws_google_captcha]
Try removing it and using the captcha options in the contact forum.Best regards,
MikeApril 23, 2024 at 9:50 am #1440577Hi Mike,
But because it fails now and it didn’t fail before. Because a shortcode fails in an html field. It does not give errors like in other fields. We have all of our WPs set up this way and they all look bad now.
We use this way of entering the captcha because Enfold’s captcha solution has never worked well for us.I’m sorry but the option of looking at the forum and having to change all the websites we have, which are quite a few, does not work.
Greetings,
Jordi
April 23, 2024 at 6:55 pm #1440624Hi,
It looks like your plugin is not working correctly, I tried adding the shortcode to a code block element and a text block element on the page and it still gave the “Array” error:
so it seems the error is not related to the contact form, I have not used the plugin so perhaps there is a setting that you need to set, try checking with the plugin author.
I also tried adding shortcode to the Custom HTML element in the contact form using the shortcode wand:
and it worked correctly:
so it doesn’t seem that the error is related to the contact form not allowing shortcodes:
If this used to work then perhaps there is another plugin causing a confict, try disabling your other plugins and checking.
I notice in the plugin settings that there are many uses that require the Pro version, perhaps the error is related to that or that the API keys are not accepted? Try asking the plugin support if they have seen this before.Best regards,
MikeApril 24, 2024 at 1:42 pm #1440692Hi Mike,
OK. Thank you so much. I have sent a ticket to the plugin to see if they can give me a solution.
Thanks for everything,
Jordi
-
AuthorPosts
- You must be logged in to reply to this topic.