kses.php (wp_kses_bad_protocol_once) function error
-
First thanks for such a wonderful system/platform. I got an error after plugin update. I have tried to restore the data but it is not work. Also this error make the system down and all the page was not be load.
Warning: preg_match(): No ending delimiter ‘#’ found in hkermall.com/public_html/wp-includes/kses.php on line 1722function wp_kses_bad_protocol_once( $string, $allowed_protocols, $count = 1 ) { $string = preg_replace( '/(�*58(?![;0-9])|�*3a(?![;a-f0-9]))/i', '$1;', $string ); $string2 = preg_split( '/:|�*58;|�*3a;|:/i', $string, 2 ); if ( isset( $string2[1] ) && ! preg_match( '%/\?%', $string2[0] ) ) { $string = trim( $string2[1] ); $protocol = wp_kses_bad_protocol_once2( $string2[0], $allowed_protocols ); if ( 'feed:' === $protocol ) { if ( $count > 2 ) { return ''; } $string = wp_kses_bad_protocol_once( $string, $allowed_protocols, ++$count ); if ( empty( $string ) ) { return $string; } } $string = $protocol . $string; } return $string; }
another error/Warning
Warning: Cannot modify header information – headers already sent by (output started at hkermall.com/public_html/wp-includes/kses.php:1722) in
hkermall.com/public_html/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 1346
Warning: preg_match(): No ending delimiter ‘#’ found in hkermall.com/public_html/wp-includes/kses.php on line 1722The page I need help with: [log in to see the link]
- The topic ‘kses.php (wp_kses_bad_protocol_once) function error’ is closed to new replies.