• khiibots

    (@khiibots)


    Hey, I am a Mobile developer on word press and using this plugin for quite a while I noticed a serious bug. Pay-to-win.com’s Posts Say

    Excuse the dust
    Please excuse the dust. Our web host has been making updates like adding an app and working on improving load…

    48 years ago

    But the Time is correct when i click on the post?

    Any ideas on how to fix?

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 17 total)
  • frenchomatic

    (@frenchomatic)

    Not sure what your problem is as I do not see “from 48 years ago”. The site is terribly slow for me.

    Hi @khiibots,

    Can you tell us in which design you are having this problem?

    Thread Starter khiibots

    (@khiibots)

    Swift. Have Not tested with Newspaper

    • This reply was modified 7 years ago by khiibots.
    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Hi @khiibots

    Kindly contact me directly via https://ampforwp.com/support/

    We will look into this one.

    Thread Starter khiibots

    (@khiibots)

    Hey I actually did try to get in contact but never got a reply

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Hi @khiibots

    I’m extremely sorry to hear that, can you please let me know which email address did you used to reply? I will personally check and help you with it.

    Thread Starter khiibots

    (@khiibots)

    Just email me via boardssw@gmail.com

    ill setup a sub-domain with a clone so you can see the bug.

    Also Automatic had this same problem 3 months back.

    Hit me and email and ill send the screenshots and send you wp admin access. to a cloned site with the exact setup.

    Checked for Plugin conflicts and found none.

    Email boardssw@gmail.com

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Thanks @khiibots

    I will personally make sure that the issues gets solved!

    Thread Starter khiibots

    (@khiibots)

    Hey Ahmed I found the source! in components-core.php

    The Get_the_date is used and This was referenced in automatics plugin as an error Also!!!

    <?php }

    function amp_date( $args=array() ) {

    global $redux_builder_amp;
    if ( 2 == $redux_builder_amp[‘ampforwp-post-date-format’] ) {
    $args[‘format’] = ‘traditional’;
    }
    if ( (isset($args[‘format’]) && $args[‘format’] == ‘traditional’) || ‘time’ == $args ) {
    $post_date = esc_html( get_the_date() ) . ‘ ‘.esc_html( get_the_time());
    } else {
    $post_date = human_time_diff(
    get_the_time(‘U’, get_the_ID() ),
    current_time(‘timestamp’) ) .’ ‘. ampforwp_translation( $redux_builder_amp[‘amp-translator-ago-date-text’],
    ‘ago’);
    }
    $post_date = apply_filters(‘ampforwp_modify_post_date’, $post_date);
    if ( ‘date’ == $args || ‘time’ == $args ) {
    echo $post_date .’ ‘;
    }
    else
    echo ‘<div class=”loop-date”>’.$post_date.'</div>’;
    }

    Thread Starter khiibots

    (@khiibots)

    Why not just get the post ids and do

    <?php echo get_the_date( $format, $post_id );

    Or echo get_the_date(‘Y/m/d’,$recent[“ID”])

    Based on my looks at the code i dont see were the Post ID is collected.

    • This reply was modified 7 years ago by khiibots.
    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Hi @khiibots
    We want to resolve this issue for sure but I tried searching for your email but I couldn’t find it.

    Can you please share the ticket id or the email you used to send? so I can track and have an in-depth troubleshooting with you.

    khiibots2

    (@khiibots2)

    #3257

    That’s the ticket ID in email.

    sent from boardssw@gmail.com

    You should have Cpannel and wordpress logins this is the design guy by the way

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Hi @khiibots2

    We have created a ticket for this: https://github.com/ahmedkaludi/accelerated-mobile-pages/issues/1864

    and assigned it to my developer. He will look into it and help you fix it.

    Hi Ahmed Kaludi, @ahmedkaludi

    We are facing the same issue. We have contacted with you last year but still there is the problem: https://prntscr.com/jfgyvb

    https://bartabangla.com/archives/category/international/amp

    We really love this plugin and don’t want to uninstall it and try another plugin. But we need a solution.

    Please help us.

    Best regards,

    Mou

    Plugin Contributor ampforwp

    (@ampforwp)

    Hello @moufarzana25,

    Can you please contact me on team@magazine3.com so I can troubleshoot and solve it immediately for you.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Error AMP posts Time says from 48 Years ago’ is closed to new replies.