My website is down with a fatal error. I know just the tiniest bit about coding, and found the error log. I know the line that is causing a fatal error, but don't know where to put parenthesis to fix. If someone could help me with this, I would be very grateful.
This is the error:
PHP Fatal error: Unparenthesized `a ? b : c ? d : e` is not supported. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)`
Here is the line the log says has the problem:
$coronavirus_notice_banner_color = (@$_POST['action']=='save_coronavirus_notice_plugin') ? $coronavirus_notice_banner_color : (get_option('coronavirus_notice_banner_color')) ? esc_html(get_option('coronavirus_notice_banner_color')) : '#CC0000';
There are a few lines just like the one above that probably have the same issue, but if I can get some help on the one above, I think I can follow the pattern and fix the others.
Thank you in advance!