Home>Support>Hentry problems in Google Search Console

Hentry problems in Google Search Console

By BK, 8 years ago. Last reply by BK, 8 years ago.
Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

My website (www.theprojectdefinition.com) has 739 missing: author and missing: updated error messages come in the Google Search Console (structured data (Hentry)) – mostly post.
And 3 missing: entry-title error message comes – page

Could you please help me to solve about errors.

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 8 years, 3 months ago Alex S
    Hi, I Work Here

    Hi BK,

    Please install Code Snippets and then navigate to WP AdminSnippetsAdd New and add the following PHP:

    function so_remov_hentry_on_page( $classes ) {
    	if ( is_page() ) {
    		$class_key = array_search( 'hentry', $classes );
    		if ( $class_key !== false) {
    			unset( $classes[ $class_key ] );
    		}
    	}
    
    	return $classes;
    }
    add_filter( 'post_class', 'so_remov_hentry_on_page' );
    

    Press Save Changes and Activate. Google will slowly crawl and reprocess the affected pages but once complete none of the hentry errors should be present anymore.

  2. 8 years, 3 months ago BK

    Hi Alex S,

    Thank you very much for your prompt response.

    I have updated based on above your instructed, but I am not sure if I did properly or not because I am a beginner.

    Could you please review below my updating process:
    1. Download above “Snippets”, and unzipped.
    2. Upload unzipped “Snippets” 8 files in WP Admin -> Snippets (create New Folder) through File Manager in cPanel, using FTP.
    3. Create new file named “Add New” and copied above PHP into the “Add New” file, and saved.
    4. Finally, 9 files (unzipped “Snippets” 8 files and new “Add New” file) are loaded in “WP Admin” -> “Snippets”

    In addition to this, I added new Plugin “Code Snippets” in Plugin

    I would greatly appreciate it if you kindly give me your review feedback.

    Thanks

    BK

  3. 8 years, 3 months ago Alex S
    Hi, I Work Here

    Hi BK,

    Okay, so no, that’s not correct. To clarify, by WP Admin I was referring the admin interface of WordPress when viewed via a browser, not the file structure.

    You have three options to install the plugin. You can install it automatically via WordPress, you can upload it to WordPres, or you can upload the plugin manually to WordPress via FTP.

    The first two options are outlined in this article. They are the preferred manner of installation.

    The third method will require using FTP. Please connect and navigate to wp-content/plugins and upload the extracted plugin folder. Then navigate to WP AdminAppearancePlugins and activate Code Snippets.

    Does that help?

  4. 8 years, 3 months ago BK

    Hi Alex S,

    Thank you very much for your kind explanation.

    I think I installed it properly as follows:
    1. Installed “Code Snippets” in Plugins, and activated
    2. Added above PHP in add new “code” area in “Snippets” Plugin, and saved and activated

    It has been done on 26 March, but Hentry Error is increasing…742 Errors on 23 March, and 849 Errors on 28 March (this morning).

    Do I have to wait a little bit longer, or
    Could you please let me know it there is any checking/ verifying method to confirm the Snippets are working properly?

    Always thank you very much

    BK

  5. 8 years, 3 months ago Alex S
    Hi, I Work Here

    Hi BK,

    I just checked your markup and hentry is still present. Hm. Oh. Wait, you have a page cache. Did you try clearing your page cache to see if that helps? According to the page cache timestamp on your home page, it was cached on the 24th which would explain why I’m not seeing the correct page.

  6. 8 years, 3 months ago BK

    Hi Alex S

    Thank you very much!

    Yes, I purged ALL Caches yesterday and today…

    However, Hentry Error is continuously increasing as follows:
    24th March: Missing updated & author – 814 posts/ pages, and Missing entry-title – 3 pages
    27th March: Missing updated & author – 846 posts/ pages, and Missing entry-title – 3 pages
    29th March: Missing updated & author – 853 posts/ pages, and Missing entry-title – 4 pages

    Could you help me to solve this problem, please.

    Thanks

    BK

  7. 8 years, 3 months ago Alex S
    Hi, I Work Here

    Hi BK,

    Thanks. Has the number increased after you purged the cache? I can no longer see reference anything on your pages that would flag the page as a post.

    To clarify, it makes sense as to why the numbers would be increasing before you cleared the cache as your website was still serving the pages without the above code applied to them.

  8. 8 years, 3 months ago BK

    Hi Alex S,

    Very strange to me!

    Number of errors are moving, but decreasing, increasing and slightly decreasing again as blow:

    29th March: Missing updated & author – 853 posts/ pages, and Missing entry-title – 4 pages
    1st April: Missing updated & author – 856 posts/ pages, and Missing entry-title – 4 pages
    6th April: Missing updated & author – 844 posts/ pages, and Missing entry-title – 4 pages
    9th April: Missing updated & author – 851 posts/ pages, and Missing entry-title – 4 pages
    11th April: Missing updated & author – 848 posts/ pages, and Missing entry-title – 3 pages

    Is the Snippets in my website working properly???

    The Code Snippets plugin is active. (listed in the Plugins)
    Above Your code was copied in the Snippets (Code area in Add New, and nothing in Description and Tags area, but selected “Run snippet everywhere” in scope in Setting area)

    Settings in the Snippets: I didn’t change anything.
    1. in General: Selected 2nd, 3rd and 4th items only,
    2. Description Editor: 5 rows, and 2 listed items are not selected,
    3. Code Editor: Theme – Default; Index Width Tabs: Selected; Tab Size: 4; Indent Unit: 2; Listed 4 items are selected; and Editor Preview (below Codes are there):
    function example_custom_admin_footer_text( $text ) {
    return ‘Thank you for visiting ‘ . get_bloginfo( ‘name’ ) . ‘.’;
    }

    add_filter( ‘admin_footer_text’, ‘example_custom_admin_footer_text’ );

    I would greatly appreciate it if you could kindly help me to solve this problem.

    Thanks

    BK

  9. 8 years, 3 months ago Alex S
    Hi, I Work Here

    Hi BK,

    Just checked a few of your pages and the code is definitely being applied. To clarify, have you marked these pages as fixed?

  10. 8 years, 3 months ago BK

    Hi Alex S,

    Thank you very much for you kind and prompt response.

    But, I couldn’t find out “Mark as Fixed” in Hentry, Structured Data in Search Appearance. (“Mark as Fixed” selection bar is in Crawl Errors but not in Hentry)

    Only “Test Live Data” and “Close” selection bars comes when I clicked Hentry Error page or post. And results comes “0 Errors and 0 Warnings” When I performed the “Test Live Data” But, I couldn’t find out the “Mark as Fixed”

    Could you please let me know how to mark on the “Marked as Fixed”

    Thanks

    BK

  11. 8 years, 3 months ago Alex S
    Hi, I Work Here

    Hi BK,

    Hm. I may have been thinking of something else – sorry.
    Can you show me some of errors you’re seeing (ie. a screenshot)?

    Please note that we’re currently unable to process attachments so you’ll need to upload any screenshots to a third party image hosting site like vgy.me or imgur.

  12. 8 years, 3 months ago BK

    Hi Alex S,

    Thank you very much!

    I have uploaded screenshots in the website: http://www.theprojectdefinition.com/hentry

    I hope you will have proper information through the website.

    If you need any further information on this, please let me know.

    Thanks a lot

    BK

  13. 8 years, 3 months ago Alex S
    Hi, I Work Here

    Hi BK,

    Ah. That explains it – thank you for that.

    I was removing the hentry from pages which is correct and working. I wasn’t, however, removing it from posts (which is where it’s meant to be applied) and due to you having disabled the Post Meta, that’s where this issue is coming from.

    Please replace the previous PHP with:

    function so_remov_hentry( $classes ) {	$class_key = array_search( 'hentry', $classes );	if ( $class_key !== false) {		unset( $classes[ $class_key ] );	}	return $classes;}add_filter( 'post_class', 'so_remov_hentry' );

    Although, I would instead recommend enabling Post Meta by navigating to WP Admin > Appearance > Customize, Theme Settings > Blog and enable the relevant post meta settings (Post Author, Post Meta, Post Date, etc)

  14. 8 years, 3 months ago BK

    Hi Alex S,

    Happy Easter!

    It’s done. Just waiting for the Google Search Console updating…

    Thank you so much

    BK

  15. 8 years, 2 months ago BK

    Hi Alex S,

    It’s work! Now, Hentry errors are decreased by 400 only.

    Thank you very much!

    BK

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More