This shows up at the top of my website. How can I fix this?
Deprecated: Unparenthesized a ? b : c ? d : e is deprecated. Use either (a ? b : c) ? d : e or a ? b : (c ? d : e) in /home/stpeters267/public_html/powerhousevac.com/wp-content/themes/shapely/inc/extras.php on line 442
I have the same problem on my site. I fix the problem my self by updating the code on the specified row in the error message from:
$author_name = ( ‘’ != trim( $author_nickname ) ) ? $author_nickname : ( trim( $author_displayname ) != ‘’ ) ? $author_displayname : $author_fullname;
to:
$author_name = (( ‘’ != trim( $author_nickname ) ) ? $author_nickname : ( trim( $author_displayname ) != ‘’ )) ? $author_displayname : $author_fullname;
Would be great if you could fix this since my change get’s overritten after every update.