2021年1月20日星期三

Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in LARAVEL

I am getting this exception very frequently.

ErrorException    Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)`  

The code which triggers this exception is :

<li>Over ' . isset($follwerByPlatformName['instagram']['this_follower']) && (!empty($follwerByPlatformName['instagram']['this_follower'])) ? $follwerByPlatformName['instagram']['this_follower'] : 0 . ' Followers</li>                  <li>' . (isset($follwerByPlatformName['instagram']['up_down']) && $follwerByPlatformName['instagram']["up_down"] == "up" ? "+" : "-") . ' ' . isset($follwerByPlatformName['instagram']['increase_descrease_precent']) && !empty($follwerByPlatformName['instagram']["increase_descrease_precent"]) ? $follwerByPlatformName['instagram']["increase_descrease_precent"] : 0 . '% Followers (mostly from GC)</li>  

Can any help me to resolve this issue?

https://stackoverflow.com/questions/65821044/unparenthesized-a-b-c-d-e-is-deprecated-use-either-a-b-c-d January 21, 2021 at 12:06PM

没有评论:

发表评论