Fatal error: Switch statements may only contain one default clause (php7)

I use php ver. 7.1.0 and now I have problem

Fatal error: Switch statements may only contain one default clause in
/icore.php on line 477

Here’s the code:

476  case 'html':
477  default:
478  echo $std;
479
480  if ( $desc != '' )
481    echo '<br /><span class="description">' . $desc . '</span>';
482
483  break;

Can I fix it?

Read more here: Fatal error: Switch statements may only contain one default clause (php7)

Leave a Reply

Your email address will not be published. Required fields are marked *