• I’m wondering if you publish your WordPress plugin somewhere that I could make a Pull Request against. The plugin is raising:

    E_NOTICE: Trying to get property ‘ID’ of non-object
    in wp-content/plugins/addthis/backend/AddThisPlugin.php line 1155

    I’m happy to post the full stack trace upon request but the fix is fairly obvious upon reading the code. The metaBoxDisablesTools() method is just missing a check that $post is truthy. If it’s falsey it should just return early.

    While I’m able to patch it directly on my site it would be good to patch it upstream for the benefit of all.

    Thanks and happy holidays,
    Coby

  • The topic ‘PHP Notice:’ is closed to new replies.