WordPress.org

Forums

WP Facebook Open Graph protocol
[resolved] "Trying to get property of non-object" error when hitting 404 page (8 posts)

  1. irabronson
    Member
    Posted 1 year ago #

    Hello. I like the plugin but have just discovered this issue when hitting a 'Page not found' 404 page on our site:

    Notice: Trying to get property of non-object in /home8/amysciar/public_html/atom/wp-content/plugins/wp-facebook-open-graph-protocol/wp-facebook-ogp.php on line 155

    The site is on a dev server right now. Launching in a week or so.

    What to do?

    Thanks.

    http://wordpress.org/plugins/wp-facebook-open-graph-protocol/

  2. Chuck Reynolds
    Member
    Plugin Author

    Posted 1 year ago #

    never seen that before but try the beta as that shouldn't be an issue anymore:
    github.com/chuckreynolds/WPFBOGP

  3. irabronson
    Member
    Posted 1 year ago #

    Yes, that works. Thank you!

  4. Chuck Reynolds
    Member
    Plugin Author

    Posted 1 year ago #

    okay rad. good to know. I haven't had enough free time from work to test the beta on all platforms and versions and plugins and themes and bllllaaaaahhh... you know. But so far it seems pretty good. I'm just afraid to push it to the repo w/o some more testing. Time...
    thanks for testing the beta though and letting me know! +10 for that.

  5. irabronson
    Member
    Posted 1 year ago #

    Cool. I'm on Mac and also took a quick look on WIndows 7 including IE 9,8 and it was fine.

    Thanks.

  6. Chuck Reynolds
    Member
    Plugin Author

    Posted 1 year ago #

    right on. if i may ask.. are you using an SEO plugin? if so which one? are you using a framework like Genesis or Thesis?
    Thanks!

  7. irabronson
    Member
    Posted 1 year ago #

    No SEO plugin. No framework. I've used Twitter Bootstrap before but this project began before my first time with Bootstrap (although not a WP-specific framework).

  8. Chuck Reynolds
    Member
    Plugin Author

    Posted 1 year ago #

    Yeah I'm just asking specifically about theme frameworks.. as Thesis and Genesis both filter titles and content for the meta title and description. It's all good. Thanks man.

    Hopefully I can get that beta a little more wrapped up and pushed to production into the repo next month. too many deadlines for first week in nov for me :)

    Cheers!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Facebook Open Graph protocol
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic