• Resolved wen0750

    (@wen0750)


    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 1722

    function wp_kses_bad_protocol_once( $string, $allowed_protocols, $count = 1 ) {
    	$string  = preg_replace( '/(&#0*58(?![;0-9])|&#x0*3a(?![;a-f0-9]))/i', '$1;', $string );
    	$string2 = preg_split( '/:|&#0*58;|&#x0*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 1722

    • This topic was modified 2 years, 11 months ago by wen0750.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue (theme functions can interfere like plugins).

    Thread Starter wen0750

    (@wen0750)

    Fixed now. Got this error since in this plugin update got an error and it was a caching issue.

    • This reply was modified 2 years, 11 months ago by wen0750.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘kses.php (wp_kses_bad_protocol_once) function error’ is closed to new replies.