Title: Bug in parse.php
Last modified: July 2, 2021

---

# Bug in parse.php

 *  Resolved [sanaconeltantra](https://wordpress.org/support/users/sanaconeltantra/)
 * (@sanaconeltantra)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/bug-in-parse-php/)
 * Ciao Marco,
 * Too bad you are not really improving this amazing plugin, it has a lot of potential,
   thanks for the great work ganyway 🙂
 * I had all these warnings that prevented from updating the postmeta because there
   is apparently no post $o to be updated : :
 *     ```
       [02-Jul-2021 03:10:34 UTC] PHP Notice:  Undefined variable: o in /home3/eventtf0/public_html/mycommunity/wp-content/plugins/telegram-bot/parse.php on line 64
       [02-Jul-2021 03:10:34 UTC] PHP Notice:  Trying to get property 'ID' of non-object in /home3/eventtf0/public_html/mycommunity/wp-content/plugins/telegram-bot/parse.php on line 64
       ```
   
 * So I added these 2 lines and now it works better:
 *     ```
       $plugin_post_id = telegram_getid( $USERID );
       if ( $plugin_post_id ) $o = get_post($plugin_post_id);
       ```
   
 * I am not a developper so not sure it’s good coding but at least it works =)
    
   Cheers!

Viewing 1 replies (of 1 total)

 *  Plugin Author [Marco Milesi](https://wordpress.org/support/users/milmor/)
 * (@milmor)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/bug-in-parse-php/#post-14735749)
 * Hi [@sanaconeltantra](https://wordpress.org/support/users/sanaconeltantra/),
   
   planned for next release, thank You!

Viewing 1 replies (of 1 total)

The topic ‘Bug in parse.php’ is closed to new replies.

 * ![](https://ps.w.org/telegram-bot/assets/icon-256x256.png?rev=2981438)
 * [Telegram Bot & Channel](https://wordpress.org/plugins/telegram-bot/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/telegram-bot/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/telegram-bot/)
 * [Active Topics](https://wordpress.org/support/plugin/telegram-bot/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/telegram-bot/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/telegram-bot/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Marco Milesi](https://wordpress.org/support/users/milmor/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/bug-in-parse-php/#post-14735749)
 * Status: resolved