• Resolved hullen

    (@hullen)


    This notice error is showing on my site. I know, its a php notice, but would like develop with error_reporting() enabled.

    PHP Notice: Undefined property: WP_Query::$_p2p_capture in /public/wp-content/plugins/p2p-wpml/synchronizer.php on line 81

    I’m using P2P Plugin version 1.4.2 and P2P WPML 1.2

    Thks.

    Hullen Gonzales

    http://wordpress.org/extend/plugins/p2p-wpml/

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’m also bit hacked off theese notices and think it would be no harm to check the existence of related property.

    Maybe one of the plugin authors could change line 81 to something like this:
    if (isset($wp_query->_p2p_capture) || property_exists($wp_query, '_p2p_capture')) {

    Would be nice to get this small fix into the next version.

    Update: After I found the plugin-repo on GitHub I opened an Issue.

    Plugin Author lencinhaus

    (@lencinhaus)

    Hi Carsten, thanks for your contribution! Your patch has been integrated in version 1.2.1

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: p2p-wpml] Undefined property: WP_Query::$_p2p_capture’ is closed to new replies.