Support » Plugin: Duplicate Post » Error: Trying to get property ‘post_type’ of non-object

  • campusboy

    (@campusboy1987)


    Hello! Thank you very much for your plugin! Discovered a small bug. On the page of the list of forms of the plugin “Contact Form 7” in the logs I see an error level “notice”. Details below.

    Environment:
    WordPress 4.9.8
    Duplicate Post 3.2.2
    PHP 7.2

    Error:
    Trying to get property ‘post_type’ of non-object 1

    Path:
    wp-content/plugins/duplicate-post/duplicate-post-common.php:170
    wp-content/plugins/duplicate-post/duplicate-post-common.php:144

    Screenshot:

  • The topic ‘Error: Trying to get property ‘post_type’ of non-object’ is closed to new replies.