• Resolved studio24x7

    (@studio24x7)


    recently moved the site to a new server with PHP 7.4 and now get the following errors. The live site running on PHP 7.3 does not have these errors. I don’t know how to fix this problem in the theme.
    Here my Code
    `if ($form[ ‘ID’ ] === $form_id) {
    $entry_id = !empty($wp_query->query_vars[ ‘cf_entry’ ]) ? $wp_query->query_vars[ ‘cf_entry’ ]
    : isset($_GET, $_GET[ ‘entry’ ]) && absint($_GET[ ‘entry’ ]) ? $_GET[ ‘entry’ ] : null;
    if ($entry_id) {
    $atts[ ‘entry’ ] = (int)$entry_id;
    }
    Error:
    Deprecated: Unparenthesized a ? b : c ? d : e is deprecated. Use either (a ? b : c) ? d : e or a ? b : (c ? d : e) in /home2/tudiotz4/public_html/wp-content/plugins/caldera-forms/classes/core.php on line 3723
    i don’t know how to resolve

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

Viewing 1 replies (of 1 total)
  • AC

    (@purplecodes)

    Themeisle Support

    Hello @studio24x7,

    Kindly try disabling the plugin Caldera Forms and see if the issue is resolved.

    Let us know how it goes.

Viewing 1 replies (of 1 total)
  • The topic ‘Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ?’ is closed to new replies.