PHP Warning: htmlspecialchars(): charset `UTF-8;’ not supported, assuming utf-8
-
Hello, thanks for awesomeness! ??
I’m getting some lines in error_log and its not ending, 280MB error log lol.Report number: XHERULFY
PHP Warning: htmlspecialchars(): charset `UTF-8;’ not supported, assuming utf-8 in /home/*********/public_html/wp-content/plugins/litespeed-cache/inc/utility.class.php on line 586
574 to 590 below;
if ( $type ) {
// Remove potential paramtype
from url
$url = parse_url( htmlspecialchars_decode( $url ) ) ;
parse_str( $url[ ‘query’ ], $query ) ;$built_arr = array_merge( $query, LiteSpeed_Cache_Router::build_type( $type ) ) ;
if ( $append_arr ) {
$built_arr = array_merge( $built_arr, $append_arr ) ;
}
$url[ ‘query’ ] = http_build_query( $built_arr ) ;
self::compatibility() ;
$url = http_build_url( $url ) ;
$url = htmlspecialchars( $url ) ;
}return $url ;
}
- The topic ‘PHP Warning: htmlspecialchars(): charset `UTF-8;’ not supported, assuming utf-8’ is closed to new replies.