WordPress.org

Ready to get started?Download WordPress

Forums

JM Twitter Cards
[resolved] PHP Error on 404 pages (9 posts)

  1. toxinhead
    Member
    Posted 1 year ago #

    Hey, beautiful plugin but am getting some PHP errors on 404 pages.

    Notice: Trying to get property of non-object in jm-twitter-cards/jm-twitter-cards.php on line 206
    Notice: Trying to get property of non-object in jm-twitter-cards/jm-twitter-cards.php on line 207
    Notice: Trying to get property of non-object in jm-twitter-cards/jm-twitter-cards.php on line 243

    http://wordpress.org/extend/plugins/jm-twitter-cards/

  2. tweetpressfr
    Member
    Plugin Author

    Posted 1 year ago #

    Yeah seems I have to add some conditional tag to avoid markup in these page (would be useless to tweet your 404). Thanks a lot for reporting this. I'll make update today :)

  3. toxinhead
    Member
    Posted 1 year ago #

    Awesome, thanks, will look forward to this :)

  4. tweetpressfr
    Member
    Plugin Author

    Posted 1 year ago #

    3.1.4 should fix it :)

  5. toxinhead
    Member
    Posted 1 year ago #

    Wooo awesome, just refreshed plugin and BAM, no errors thrown,
    Thanks for speedy response!

  6. Pothi
    Member
    Posted 1 year ago #

    @jmlapam Please mark it as resolved, so that other volunteers do not check on this thread.

  7. toxinhead
    Member
    Posted 1 year ago #

    Bam. Resolved.

  8. Pothi
    Member
    Posted 1 year ago #

    Thank you!

  9. tweetpressfr
    Member
    Plugin Author

    Posted 1 year ago #

    you're welcome :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic