Your Time:
Our Time:
← Back to discussions

Missing: author & Missing: updated ERROR

Need help with a different issue? Search the forums or open a new ticket.
Open a support ticket

This topic has 10 replies, 3 voices, and was last updated 9 years, 11 months ago by Anonymous.

  • 2016-08-13 at 7:18 pm
    Unknown Support Status
    #15941
    worldbus
    Participant
    • Topics: 8
    • Replies: 18
    • Total posts: 26
    • Post count: 18

    How can fix “Missing: author & Missing: updated” on Hostmev2?

    2016-08-14 at 6:08 pm
    #15942
    Fem
    Keymaster
    • Topics: 2
    • Replies: 5215
    • Total posts: 5217
    • Post count: 6003

    Kindly please provide us more details with screen shot so that we can take a closer look at it.

    2016-08-14 at 7:19 pm
    Unknown Support Status
    #15943
    worldbus
    Participant
    • Topics: 8
    • Replies: 18
    • Total posts: 26
    • Post count: 18

    Screenshot attached, i have this error on google webmaster on a hostmev2 WordPress theme site.

    2016-08-16 at 12:58 pm
    #15972
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    We’ll consider taking a closer look in to this and will let you know soon.

    2016-09-03 at 11:29 pm
    Unknown Support Status
    #16398
    worldbus
    Participant
    • Topics: 8
    • Replies: 18
    • Total posts: 26
    • Post count: 18

    Still looking forward to hear from you…

    2016-09-06 at 4:42 pm
    #16439
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    I used w3c validator to validate your website and it shows “Sorry! This document cannot be checked.” It seems that your site is compressed. It might be problem with one of your compressor plugin. Try disabling the plugins one by one and see.

    2016-09-26 at 4:31 pm
    Unknown Support Status
    #16703
    worldbus
    Participant
    • Topics: 8
    • Replies: 18
    • Total posts: 26
    • Post count: 18

    Please re-check.

    2016-09-26 at 5:38 pm
    #16705
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    We have found the solution for this. Add the below code in functions.php at the last.

    function ja_remove_hentry( $class ) {
     $class = array_diff( $class, array( 'hentry' ) ); 
     return $class;
    }
    add_filter( 'post_class', 'ja_remove_hentry' );

    After that, open atp_generator.php file which is located in hostmev2/framework/common. Find for this function “postmetaStyle” and replace that function with the below function.

    // P O S T   M E T A   D A T A 
    //--------------------------------------------------------
    function postmetaStyle() {
    	global $format;
    	ob_start();
    	$out = '<div class="post-metadata">'; 
    	echo '<span class="date updated">';
    	the_time("M j, Y"); 
    	echo '</span class="vcard author author_name"><span class="fn">';
            the_author_posts_link(); 
    	echo '</span></span><span>';
    	the_category(', ') ; 
    	echo '</span>';
    	if ( get_option( 'atp_commentstemplate' ) == "posts" || get_option( 'atp_commentstemplate' ) == "both" ):
    	echo '<span>';
    	comments_popup_link( __( '0 Comment', 'THEME_FRONT_SITE' ), __( '1 Comment', 'THEME_FRONT_SITE' ), __( '% Comments', 'THEME_FRONT_SITE' ) );
    	echo '</span>';
    	endif;
    	$out .= ob_get_clean();
    	$out .= '</div>';
    	return $out;;
    }
    2016-09-26 at 6:05 pm
    Unknown Support Status
    #16706
    worldbus
    Participant
    • Topics: 8
    • Replies: 18
    • Total posts: 26
    • Post count: 18

    Changed, can you please check and confirm?

    2016-09-27 at 11:03 am
    #16714
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    This is what we see at our end in google webmasters with zero results.

    2016-10-17 at 1:51 pm
    #17148
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    Topic is set to be resolved because of no reply. If you wish to update this topic please reply here instead of creating another topic.

You must be logged in to reply to this topic.