• Resolved DamnDramaQueen

    (@damndramaqueen)


    Hi Monalisa,

    I realized there’s an ERROR MESSAGE showing right above the gifs from the rtmedia light after I updated to V5.1 ?

    Notice: Trying to get property ‘ID’ of non-object in /home/wpdp/public_html/wp-content/plugins/wp-monalisa/wpml_comment.php on line 111

    Is there’s a patch or how to fix this issue?

    Please help, Thanks

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author tuxlog

    (@tuxlog)

    Hi DramaQueen,

    I tried to repdroduce the “notice” but it seems not to occure in my setup.
    Can you please give PHP Version, WP Version, rtMedia Verision. I used PHP 7.3, rtMedia 4.5.8 and WP 5.2.3.

    Thanks.

    Thread Starter DamnDramaQueen

    (@damndramaqueen)

    Hi Tuxlog,

    I am using the following.
    php version 7.2
    wp version 5.2.3
    rtMedia version 4.5.8

    The error ONLY happens for the rtmedia lightbox area.

    Also for wp comments are fine, no error.
    Oh, I forgot to mention, The ONLY issue is when I post the animation, it doesn’t show on the message sections and also indicated “Waiting for Approval”?! So I ended up NOT using the wp default comments page and left it alone…

    ————————————-
    The animation for buddypress stream and bbpress are 100% fine!

    Please advise, thanks,

    Plugin Author tuxlog

    (@tuxlog)

    Thanks for the information, can you disable this “approval” thing and test if it works please. Seems to be the only difference between our setups.

    Thread Starter DamnDramaQueen

    (@damndramaqueen)

    Hi Tuxlog,

    The only approval is from Settings > Discussion. Those 2 are UNCHECKED.

    But the main thing is that ERROR message is what I am looking for fix it LINE 111.

    I used all latest version and just updated to php 7.3. Still NO luck I tried everything. It just freaky only rtmedia happening no where else?! ??

    • This reply was modified 5 years, 1 month ago by DamnDramaQueen. Reason: Add extra words
    Plugin Author tuxlog

    (@tuxlog)

    I am still looking to reproduce the problem. Must be something different between our setups, but still no luck to get the “Notice”.
    Let’s try something simple, can you disable Notices in your PHP setup, maybe it’s this easy.

    Thread Starter DamnDramaQueen

    (@damndramaqueen)

    Hi Tuxlog,

    If you are referring to define(‘WP_DEBUG_DISPLAY’, false) I just did it. The error went away. But this just to hide it. NOT a completed fixed.

    Freaky, it only happens for the rtmedia. But yours is fine?!

    Besides turning off the debug mode, it’s there’s another way or a patch might do the trick?

    Please advise, Thanks

    Plugin Author tuxlog

    (@tuxlog)

    So far, so good.
    Yes, it works fine on my sites.
    Maybe you can try modifying line 111 in wpml_comment.php to

    if (is_object($post) && is_array($excludes) && in_array($post->ID,$excludes))

    Can you try this please.

    Thread Starter DamnDramaQueen

    (@damndramaqueen)

    Hi Tuxlog,

    YAHOO!!! OMG!!! It’s completely GONE!!! So much nicer!!!

    Also, it didn’t affect others neither…

    Not that I”m a developer, but may I ask why it did that ONLY for rtmedia?

    Thanks for very very much for your big help!!!

    I feel so much relief Happy Camper!

    Plugin Author tuxlog

    (@tuxlog)

    Great to hear it works. YEAHHHH!!!

    It is just a guess but maybe rtmedia uses some setup where $post is not set.

    Have fun with wp-monalisa.

    Thread Starter DamnDramaQueen

    (@damndramaqueen)

    Hi Tuxlog,

    This is NOT just guess! Your skills and development level did it ??

    Always enjoyed your great plugin and nice feature that are compatible with buddypress, bbpress and others.

    Thank you so very very much for your big time help,

    Have a wonderful day!!! YOU ROCK BIG TIME!!!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘SHOWING ERRORS’ is closed to new replies.