Jump to content

hollyosburn

New Members
  • Posts

    3
  • Joined

  • Last visited

hollyosburn's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. The line that I have the error on is line 155. I appreciate any help you can give me. This is my wordpress website. Thank you for the updated code. It seems to work! The website is still a mess, but at least it's back up.
  2. Thank you so much for responding. Here is more of the code. I think I copied it correctly? What can I do to get around the fatal error? Is there a way to fix the parens so that it matches the Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` requirement that the error message says is the problem?
  3. 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!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.