Support » Plugin: Pinterest "Pin It" Button » Notice: Trying to get property of non-object in wp-includes/query.php

  • Hello!

    I’m getting the following –

    Notice: Trying to get property of non-object in /path/to/site/wp-includes/query.php on line 4385
    
    Notice: Trying to get property of non-object in /path/to/site/wp-includes/query.php on line 4387
    
    Notice: Trying to get property of non-object in /path/to/site/wp-includes/query.php on line 4389

    Steps to reproduce –
    Enable debug constant in wp-config
    Activate Pin it Button

    Trouble shooting –
    1 – Disabled all plugins
    2- Switched to default theme (twenty fifteen)
    3- Reenabled active plugins one by one

    By doing the above I was able to isolate the issue to this plugin. The notices still occur with only Pin It & TwentyFifteen active.

    FWIW – the same issues occur with your pro plugin. We are using the pro version on my wife’s site, but I thought I’d try out the lite version as well to see if the notices carried over.

    https://wordpress.org/plugins/pinterest-pin-it-button/

  • The topic ‘Notice: Trying to get property of non-object in wp-includes/query.php’ is closed to new replies.