Support » Plugin: WP Telegram (Auto Post and Notifications) » Test is ok . but cant send post’s

  • Resolved keyvan21

    (@keyvan21)


    hi, first thanks for this usefull plugin
    my plugin is installed & i create robot & send test msg successfuly
    but it does’nt work in the pages and product or blog
    I hit the tick up of the publish post and Override settings bottom of the text body.
    I did the publish and editing but it didn’t work and nothing show’s in channel.
    thank you for support

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Manzoor Wani

    (@manzoorwanijk)

    Hello,
    There can be many reasons for that. Can you please enable logs in <b>WP Telegram</b> settings and try again.
    Then send the logs from /wp-content directory to our support on Telegram.

    i do it and log is created
    i cant send anything in your telegram group because i’m restricted after join…!
    this the p2tg.log :

    [2019-09-12 16:09:03]
    {"20557-publish":[{"hook":"before","trigger":"wp_insert_post"},{"hook":"rules","apply":true},{"hook":"image_source","send_image":"on","has_image":true,"send_by_url":true,"source":"https:\/\/spo*****.com\/wp-content\/uploads\/leather-cover-sonata-1.jpg"},{"hook":"finish","ok":true,"processed":[20557]},{"hook":"after","result":{"@keyvantes":[{}]}}]}
    
    [2019-09-12 16:10:37]
    {"20592-draft":[{"hook":"before","trigger":"wp_insert_post"},{"hook":"rules","apply":true},{"hook":"finish","ok":false,"processed":[]},{"hook":"after","result":406}]}
    
    [2019-09-12 16:15:27]
    {"20594-publish":[{"hook":"before","trigger":"wp_insert_post"},{"hook":"rules","apply":false},{"hook":"finish","ok":true,"processed":[]},{"hook":"after","result":406}]}
    
    [2019-09-12 16:15:27]
    {"20594-publish":[{"hook":"before","trigger":"wp_insert_post"},{"hook":"rules","apply":false},{"hook":"finish","ok":true,"processed":[]},{"hook":"after","result":406}],"20593-publish":[{"hook":"before","trigger":"wp_insert_post"},{"hook":"rules","apply":false},{"hook":"finish","ok":true,"processed":[]},{"hook":"after","result":406}]}
    
    [2019-09-12 16:15:31]
    {"20592-draft":[{"hook":"before","trigger":"wp_insert_post"},{"hook":"rules","apply":true},{"hook":"finish","ok":false,"processed":[]},{"hook":"after","result":406}]}
    
    
    • This reply was modified 4 months, 1 week ago by keyvan21.
    Plugin Author Manzoor Wani

    (@manzoorwanijk)

    Can you share the other (2nd) log please?

    Sure.

    [2019-09-12 16:09:03]
    Method: sendPhoto
    Params: {"parse_mode":"HTML","disable_notification":false,"photo":"https:\/\/sp*****.com\/wp-content\/uploads\/leather-cover-sonata-1.jpg","caption":"<b>\u06a9\u0627\u0648\u0631 \u0631\u06cc\u0645\u0648\u062a \u0686\u0631\u0645\u06cc \u0647\u06cc\u0648\u0646\u062f\u0627\u06cc I20<b>\r\n\r\n\u06a9\u0627\u0648\u0631 \u0631\u06cc\u0645\u0648\u062a \u0686\u0631\u0645\u06cc \u0647\u06cc\u0648\u0646\u062f\u0627\u06cc I20 \u06a9\u0644\u06cc\u062f \u0648 \u0631\u06cc\u0645\u0648\u062a \u0647\u0627\u06cc \u0645\u0631\u0628\u0648\u0637 \u0628\u0647 \u062e\u0648\u062f\u0631\u0648 \u0627\u0632 \u062c\u0645\u0644\u0647 \u0644\u0648\u0627\u0632\u0645\u06cc \u0647\u0633\u062a\u0646\u062f \u06a9\u0647 \u0628\u0647 \u0634\u062f\u062a \u062f\u0631 \u0645\u0642\u0627\u0628\u0644 \u062e\u0637 \u0648 \u062e\u0634 \u0648 \u0636\u0631\u0628\u0647\u060c \u0622\u0633\u06cc\u0628 \u067e\u0630\u06cc\u0631 \u0647\u0633\u062a\u0646\u062f \u0648 \u0627\u063a\u0644\u0628 \u0642\u06cc\u0645\u062a\u0647\u0627\u06cc \u0628\u0627\u0644\u0627\u06cc\u06cc \u062f\u0627\u0631\u0646\u062f\u060c \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u06a9\u0627\u0648\u0631 \u0647\u0627\u06cc \u0686\u0631\u0645\u06cc \u0628\u0627 \u062a\u0648\u062c\u0647 \u0628\u0647 \u062f\u0648\u0627\u0645 \u0628\u0627\u0644\u0627\u06cc \u0622\u0646 \u0647\u0627 \u06cc\u06a9\u06cc \u0627\u0632 \u0628\u0647\u062a\u0631\u06cc\u0646 \u0631\u0627\u0647 \u0647\u0627 \u0628\u0631\u0627\u06cc \u0645\u062d\u0627\u0641\u0638\u062a \u0627\u0632 \u0631\u06cc\u0645\u0648\u062a\u2026\r\n\r\nhttps:\/\/sp*****.com\/product\/\u06a9\u0627\u0648\u0631-\u0631\u06cc\u0645\u0648\u062a-\u0686\u0631\u0645\u06cc-\u0647\u06cc\u0648\u0646\u062f\u0627\u06cc-i20\/","reply_markup":"{\"inline_keyboard\":[[{\"text\":\"\\ud83d\\udd17 \\u0645\\u0634\\u0627\\u0647\\u062f\\u0647\",\"url\":\"https:\\\/\\\/spo******.com\\\/product\\\/\\u06a9\\u0627\\u0648\\u0631-\\u0631\\u06cc\\u0645\\u0648\\u062a-\\u0686\\u0631\\u0645\\u06cc-\\u0647\\u06cc\\u0648\\u0646\\u062f\\u0627\\u06cc-i20\\\/\"}]]}","chat_id":"@keyvantes"}
    --------------------------------
    Response: {"ok":false,"error_code":400,"description":"Bad Request: can't parse entities: Expected end tag at byte offset 50"}
    • This reply was modified 4 months, 1 week ago by keyvan21.
    • This reply was modified 4 months, 1 week ago by keyvan21.
    Plugin Author Manzoor Wani

    (@manzoorwanijk)

    It means that your message template or post content contains malformed HTML. Can you please share the Message Template from Post to Telegram settings?

    yes , thanks for your support.

    <b>{post_title}<b>
    
    {post_excerpt}
    
    {full_url}
    Plugin Author Manzoor Wani

    (@manzoorwanijk)

    That’s malformed because you have not closed the </b> tag. It should be like this:

    <b>{post_title}</b>
    
    {post_excerpt}
    
    {full_url}
    Plugin Author Manzoor Wani

    (@manzoorwanijk)

    I am closing the topic. Don’t forget to disable the logs.

    You may consider writing a review 🙂

    so much thanks mannnnnn!!! <3
    Well done and it works !
    —–

Viewing 9 replies - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.