My wordpress site has error on PHP 8.1
Fatal error: Unparenthesized a ? b : c ? d : e is not supported. Use either (a ? b : c) ? d : e or a ? b : (c ? d : e) in .../wp-content/plugins/cherry-plugin/includes/plugin-assets.php on line 102
on line 102
$https = empty($_SERVER["HTTPS"]) ? '' : ($_SERVER["HTTPS"] == "on") ? "s" : "";
i fix this issue
$https = ( empty($_SERVER["HTTPS"]) ? '' : ($_SERVER["HTTPS"] == "on") ) ? "s" : "";