New Landing How can we help? Themeforest Theme Support Dante JS – background_size_emu.js causing ton of 404 errors

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Dante
  • #241646
    Ittavi
    Member
    Post count: 8

    I am using the redirection plugin that tracks 404 errors. I am noticing that these 404 errors are caused by calling a file called /empty_bg_XXXXX.wtf

    As I look into the code I notice this is being produced by background_size_emu.js file.

    Is there a way this can be fixed?

    Attached is a screenshot of the redirection log for a few minutes.

    Attachments:
    You must be logged in to view attached files.
    #241677
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    That file is not used by theme. Its seems any plugin file so please deactivate all plugins, check for issue and activate the plugin one by one to find the problematic plugin.
    Thanks
    Mohammad

    #242104
    Ittavi
    Member
    Post count: 8

    The file is being used by the theme and is called in the functions.php. Here is the function that is calling it:

    /* REQUIRED IE8 COMPATIBILITY SCRIPTS
    ================================================== */
    if (!function_exists(‘sf_html5_ie_scripts’)) {
    function sf_html5_ie_scripts() {
    $theme_url = get_template_directory_uri();
    $ie_scripts = ”;

    $ie_scripts .= ‘<!–[if lt IE 9]>’;
    $ie_scripts .= ‘<script data-cfasync=”false” src=”‘.$theme_url.’/js/respond.min.js”></script>’;
    $ie_scripts .= ‘<script data-cfasync=”false” src=”‘.$theme_url.’/js/html5shiv.js”></script>’;
    $ie_scripts .= ‘<script data-cfasync=”false” src=”‘.$theme_url.’/js/excanvas.compiled.js”></script>’;
    $ie_scripts .= ‘<script data-cfasync=”false” src=”‘.$theme_url.’/js/background_size_emu.js”></script>’;
    $ie_scripts .= ‘<![endif]–>’;
    echo $ie_scripts;
    }
    add_action(‘wp_head’, ‘sf_html5_ie_scripts’);
    }

    #242118
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please provide me FTP login detail to check in detail.
    Thanks
    Mohammad

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register