• I found this issue raised before but no resolution on it.
    Let me try to explain the issue, maybe it will get resolved:
    – it happens on Chrome only (latest version).
    – it is caused by the invalid HTML injected in the head by the plugin:

    function ptp_hook_div_for_guest() {
    			$html = "<div style='float:left;padding:20px 20px 20px 20px;'><h4>Enter your email Address</h4>";
    			$html .= '<input type="text" style="margin-top:10px" name="useremailID" id="useremailID"><input type="hidden" id="emailpostID">';
    			$html .= "<input id='guest_email' style='margin-top:10px' class='button-primary' type='submit' name='email_submit' value='submit'></div>";
    			$output = '<div id="examplePopup1" style="display:none;">' . $html . '</div>';
    			echo $output;
    		}

    Based on my knowledge <div> is not a valid element to be placed in the <head>.
    Maybe you can inject this HTML in the footer using wp_footer action?

    As a temporary solution I disabled this output as I don’t need it in the project.

    Best regards,

  • The topic ‘Favicon error’ is closed to new replies.