• Resolved olivseo

    (@olivseo)


    We keep receiving an email from WordPress with the error with the plugin.

    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 5.9.2
    Current theme: Betheme Child (version 1.6.2)
    Current plugin: Conditional Fields for Contact Form 7 (version 2.1.2)

    The site is using PHP version 7.4.28

    Error Details
    =============
    An error of type E_PARSE was caused in line 291 of the file /homepages/45/d648758106/htdocs/wp-content/plugins/cf7-conditional-fields/wpcf7cf-options.php. Error message: syntax error, unexpected ‘?’

    The site doesn’t seem to be broken in the front end, but those emails keep coming every so often. Can you help us with the issue?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jules Colle

    (@jules-colle)

    It’s strange that you mention that you are on PHP version 7.4.28 because this error can only be thrown on PHP versions before 7.0. The error indicated that the null coalescing operator (??) is not recognized. So in fact, I believe your website is actually running an older version of PHP.

    Thread Starter olivseo

    (@olivseo)

    I have confirmed with our hosting settings, that we are running our website on php 7.4. I can also see in the WordPress site information that this is the version we are running on.

    Thread Starter olivseo

    (@olivseo)

    @jules-colle Do you have any update for me? It’s been almost 2 weeks since I responded to you. We continue getting emails with this error, and I have not seen any plugin updates to fix this issue. Please advise as soon as you can.

    Plugin Author Jules Colle

    (@jules-colle)

    I’m sorry but I’m unable to reproduce the error. Could you check yourself by writing a small php script that utilizes the ?? operator and call it directly? Does that work without any errors?

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘E_Parse Error’ is closed to new replies.