Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #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!
    Simone

    #1280747

    Hi Simone,

    Could you provide us with details in private, to where we can see and reproduce the problem you are having please?

    Best regards,
    Rikard

    #1280754

    Hello Rikard! Thanks for your reply! You can find the detail in private content as your request.

    Thanks in advance!

    #1281834

    Hi,

    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,
    Ismael

    #1282036

    Hello Ismael, debug mode is on.

    Thank you!
    Simone

    #1282223

    Hi,

    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,
    Ismael

    #1282239

    Hello, there is no FTP service, only SSH access. You can find in private content the excerpt of the debug.log file.

    Thanks
    Simone

    #1282255

    Hi,

    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,
    Ismael

    #1282260

    Hello Ismael,thank you! I disabled the really-simple-captcha plugin and now the form is loaded.

    Thanks again!
    Simone

    #1282420

    Hi ilsymo,

    Glad you got it working for you! :)

    If you need further assistance please let us know.

    Best regards,
    Victoria

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.