• Resolved Bike Gremlin

    (@bikegremlin)


    Since the start of November, the field “Email address” (or however I name it in the backend) doesn’t display that label. The field is shown (with the “*” asterisk marking it as obligatory to fill in), but without the label.

    The problem started with the LiteSpeed Cache plugin update. Not sure if it’s related, but I think it’s worth noting.

    PHP 8.1.

    PHP warning code (if that’s relevant):

    [02-Nov-2022 11:13:28 Europe/Berlin] PHP Warning:  Cannot modify header information - headers already sent in /home/username/domains/mysite.com/public_html/wp-config.php on line 22
    [02-Nov-2022 10:13:28 UTC] PHP Warning:  Cannot modify header information - headers already sent in /home/username/domains/mysite.com/public_html/wp-content/plugins/contact-form-plugin/contact_form.php on line 90
    
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support andrewsupport

    (@andrewsupport)

    Hi,

    We found the issue, and we will fix it in the next plugin update.

    Almost 6 months later, this bug is still present. For me, it started occurring once I upgraded the website to PHP 8.1. Note this is a very high severity issue, because if the Email field label is not displayed, and it’s a required field, users won’t know what they need to enter in that field and won’t be able to submit the form. Please fix this!

    I just noticed there was another thread about this same problem from a year ago with a promise to solve it in the next version, which never came. At this point, I doubt this problem will ever be fixed officially, so here’s a quick hack to fix it yourself. In the contact_form.php file, go to line 1030 and replace the following:

    $cntctfrm_options['email_label'][ $lang ]

    With:

    'Email:'

    (or whatever you want your email field label to be)

    Plugin Support andrewsupport

    (@andrewsupport)

    We apologize for the delay. We are changing and fixing a lot in the code for the best experience. The delay in updates is related to the war. We apologize for the inconvenience and thank you for the temporary solution.

    Plugin Support andrewsupport

    (@andrewsupport)

    This bug and others has been fixed in the latest update. Please update the plugin.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Email address field label gone’ is closed to new replies.