Support » Fixing WordPress » The site is experiencing technical difficulties. Please check your site admin em

  • The only email I received was yesterday for this

    Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.
    plz help ,me out my hosting provider solved this issue bt again it showing 500 internal server error when i open my website …me and my hosting provider does not understand why this is happening again and again

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter suhanisahai

    (@suhanisahai)

    firstly i got one mail from wordpres, your wordpress has been updated succesfully and my website stop running on every alternate days

    Moderator Steve Stern (sterndata)

    (@sterndata)

    Forum Moderator & Support Team Volunteer

    Errors like this are logged. Check the error log on your server. If you can’t find the log, please contact your host.

    Meantime, enable wp_debug and wp_debug_log and after an error, look at wp-content/debug.log to see if anything gets logged there. https://wordpress.org/support/article/debugging-in-wordpress/

    You can also try this: Please attempt to disable all plugins, and use one of the default (Twenty*) themes. If the problem goes away, enable them one by one to identify the source of your troubles.

    If you cannot access wp-admin, there are other ways to deactivate plugins.

    Thread Starter suhanisahai

    (@suhanisahai)

    my server got this error on every alternate days and my website got down when we are trying to open my website it will show only blank page and at that we are unable to login wp-admin panel also…plz help me out
    [29-Nov-2019 05:15:59 UTC] PHP Fatal error: Uncaught Error: Call to undefined function wp_kses_normalize_entities() in /home/drrim2gt/public_html/gemmamarketing.in/wp-includes/formatting.php:4305
    Stack trace:
    #0 /home/drrim2gt/public_html/gemmamarketing.in/wp-includes/class-wp-fatal-error-handler.php(190): esc_url(‘https://wordpre…’)
    #1 /home/drrim2gt/public_html/gemmamarketing.in/wp-includes/class-wp-fatal-error-handler.php(147): WP_Fatal_Error_Handler->display_default_error_template(Array, false)
    #2 /home/drrim2gt/public_html/gemmamarketing.in/wp-includes/class-wp-fatal-error-handler.php(52): WP_Fatal_Error_Handler->display_error_template(Array, false)
    #3 [internal function]: WP_Fatal_Error_Handler->handle()
    #4 {main}
    thrown in /home/drrim2gt/public_html/gemmamarketing.in/wp-includes/formatting.php on line 4305

    Login with FTP and add the following code in functions.php :

    
    if ( !function_exists( 'wp_kses_normalize_entities' ) ){
    
    function wp_kses_normalize_entities( $string ) {
        // Disarm all entities by converting & to &
        $string = str_replace( '&', '&', $string );
     
        // Change back the allowed entities in our entity whitelist
        $string = preg_replace_callback( '/&([A-Za-z]{2,8}[0-9]{0,2});/', 'wp_kses_named_entities', $string );
        $string = preg_replace_callback( '/&#(0*[0-9]{1,7});/', 'wp_kses_normalize_entities2', $string );
        $string = preg_replace_callback( '/&#[Xx](0*[0-9A-Fa-f]{1,6});/', 'wp_kses_normalize_entities3', $string );
     
        return $string;
    }
    
    }
    

    That should temporary fix the problem, until you find the origin of the problem.

    • This reply was modified 1 year, 8 months ago by Fribba.
    Thread Starter suhanisahai

    (@suhanisahai)

    how can we fix this issue permanently because we are facing this problem on every alternate days plz help me out

    Moderator Steve Stern (sterndata)

    (@sterndata)

    Forum Moderator & Support Team Volunteer

    Please contact your host. Intermittent problems may be due to server issues.

    Thread Starter suhanisahai

    (@suhanisahai)

    is there any another way to fix this issue permanently because my hosting provider didn’t help me ..if anyone know then plz help me out as soon as possible thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘The site is experiencing technical difficulties. Please check your site admin em’ is closed to new replies.