Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ?
-
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: Unparenthesizeda ? b : c ? d : e
is deprecated. Use either(a ? b : c) ? d : e
ora ? 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 resolveThe page I need help with: [log in to see the link]
- The topic ‘Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ?’ is closed to new replies.