-
AuthorPosts
-
February 14, 2021 at 8:56 pm #1280439
Hello everyone! I have some problem with special characters in code block that are breaking my page. In details, I’m trying to insert a contact form with shortcode eg [contact-form-7 id=”4081″ title=”Contact”] provided by the plugin Contact Form 7. I installed the Special Character Translation plugin but the replaced characters are not working as expected and the code is not running but only showing in plain text.
Please can you help to fix the issue?
Thanks in advance!
SimoneFebruary 16, 2021 at 9:40 am #1280747Hi Simone,
Could you provide us with details in private, to where we can see and reproduce the problem you are having please?
Best regards,
RikardFebruary 16, 2021 at 10:08 am #1280754Hello Rikard! Thanks for your reply! You can find the detail in private content as your request.
Thanks in advance!
February 17, 2021 at 5:51 pm #1281834Hi,
Thank you for the update.
We get the same error when we try to add the CF7 shortcode using a code or a text block. Please set the installation to debug mode so that we could see the actual error when the shortcode is present in the page.
// https://wordpress.org/support/article/debugging-in-wordpress/#example-wp-config-php-for-debugging
Just add this config in the wp-config.php file to enable the debug mode.
// Enable WP_DEBUG mode define( 'WP_DEBUG', true ); define( 'WP_DEBUG_LOG', true ); define( 'WP_DEBUG_DISPLAY', true); define( 'SCRIPT_DEBUG', true );
We will check the site again afterwards.
Best regards,
IsmaelFebruary 18, 2021 at 7:04 pm #1282036Hello Ismael, debug mode is on.
Thank you!
SimoneFebruary 19, 2021 at 2:09 pm #1282223Hi,
We still don’t see any error messages in the front end. Are you sure that you added the snippet above correctly? Please post the FTP details in the private field so that we could access the file server and/or edit the files when necessary.
Temporarily, you could use the Contact Form element from the Advance Layout Builder (ALB).
Thank you for your patience.
Best regards,
IsmaelFebruary 19, 2021 at 3:10 pm #1282239Hello, there is no FTP service, only SSH access. You can find in private content the excerpt of the debug.log file.
Thanks
SimoneFebruary 19, 2021 at 3:51 pm #1282255Hi,
Thank you for that info.
Looks like the issue is caused by an undefined function called by the really-simple-captcha plugin. You may need to disable the plugin, or contact the plugin developers so that they can inspect the issue. The function that it is trying to call is imagettftext.
Best regards,
IsmaelFebruary 19, 2021 at 4:21 pm #1282260Hello Ismael,thank you! I disabled the really-simple-captcha plugin and now the form is loaded.
Thanks again!
SimoneFebruary 20, 2021 at 11:53 am #1282420Hi ilsymo,
Glad you got it working for you! :)
If you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.