Support » Plugin: HREFLANG Tags Lite » Hreflang URLs accidentally deleted from time to time

  • We have a blog installed in 5 different domains (not a multi-site, but 5 different installations), and we insert the corresponding Hreflang tag for each article in each blog post.

    Everything works fine, except that from time to time the Hreflang Tags get deleted from the backend and from the article, for example this one:

    We have done some debugging and it looks like sometimes the function ‘hreflang_save_meta_data’ enters an else part roughly at line 217 in which it deletes all the data for a given post.

    Do you plan any fix on that or do you have any suggestion?

    • This topic was modified 2 years, 6 months ago by gtempesta.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author David Davis


    Hi @gtempesta

    Thank you for reaching out. I’ll look into this issue and provide an update asap.


    Thread Starter gtempesta


    Hi David,
    we have some news: for the second time our logs showed some strange behavior: the code entered in the ‘else’ part of the function ‘hreflang_save_meta_data’ and deleted all the hreflang URLs even if no one opened or edited the article.

    This second time I saved a log, so this is the link to the article, and this is the log that the code has printed:

    [27-Sep-2018 10:26:33 UTC] [HREFLANG Tag Lite] variables are NOT sent in post with ID: 5417 Array()

    The empty array is the content of the $_POST variable, which in this case is empty.

    Looking at the article, we see that it was published on the 14th of September, and the last edit was on the 12th of September.

    It may be something not strictly related to the plugin, but still we need to investigate how this is possible, and find a way not to delete our data in these edge cases.

    Thank you,

    • This reply was modified 2 years, 6 months ago by gtempesta.
    Plugin Author David Davis


    Hey guys

    Sorry. Been super busy and have not had a chance to update.

    1) You can try our paid plugin. Have not had any reports of this bug on the paid version.
    2) I’ll try to get to an update of the free plugin within next 2 weeks.


    PS. @gtempesta – thank you for your purchase.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hreflang URLs accidentally deleted from time to time’ is closed to new replies.