• This plugin is perfect for what I need to do but when I activate it it shuts out other functions of the site…

    On one of the pages that is mostly affected I get the error:

    Notice: Undefined variable: pack_size…

    And it refers to Events Planner Pro which is another plugin I have running.

    Any advice here? I would love to use this plugin!

    https://www.ads-software.com/plugins/yop-poll/

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter jshields1123

    (@jshields1123)

    The website is coloradoautotheft.org if that helps at all…

    I’m getting a similar problem when I activate YOP Poll with Paid Memberships Pro.

    Notice: Undefined property: MemberOrder::$Gateway in /home/sudsol5/public_html/sudsol.net/wp/wp-content/plugins/paid-memberships-pro/classes/class.memberorder.php on line 180

    Did you find a solution to this?
    Coleen

    I’ve fixed the problem I was seeing. Apparently something in YOP Poll is causing it to display the warning messages even though WP_DEBUG is set to false in wp-config file. So I found a place that said to try this in the wp-config.php file instead:

    ini_set('log_errors','On');
    ini_set('display_errors','Off');
    ini_set('error_reporting', E_ALL );
    define('WP_DEBUG', false);
    define('WP_DEBUG_LOG', true);
    define('WP_DEBUG_DISPLAY', false);

    So I did that and it’s working fine – no error messages displaying.

    Thread Starter jshields1123

    (@jshields1123)

    Hm so did you replace the WP_DEBUG line with that code? Or just add it below the WP_DEBUG line?

    I tried both and both edits took my site down completely until I reset it…

    Is there any way you can send me the link to where you found that code?

    I appreciate the response!

    Plugin Author YOP

    (@yourownprogrammer)

    Hello

    Please open yop-poll.php using plugin editor and check this line

    define ("YOP_POLL_DEBUG", false);

    Let us know if you have it set to true or false.

    Thank you.
    YOP Team

    I replaced the WP_DEBUG line – you can see that it does define WP_DEBUG in the code.

    I found it lots of places here are a few of the links:
    https://digitalmaestro.com/stop-showing-php-warning-messages/
    https://wordpress.stackexchange.com/questions/19689/wp-debug-is-not-set-but-im-still-getting-warnings
    https://codex.www.ads-software.com/Debugging_in_WordPress

    Plugin Author YOP

    (@yourownprogrammer)

    I was referring to yop_poll.php file.
    That is the file you need to look for define ("YOP_POLL_DEBUG", false);

    To speed things up, you can contact us at yop.help{at}gmail.com so we can assist you with this issue.

    Best
    YOP Team

    YOP Support,
    I opened yop_poll.php as requested and it’s set to false:
    define ( “YOP_POLL_DEBUG”, false );
    Coleen

    Thread Starter jshields1123

    (@jshields1123)

    It is also set to false for me. I’ll shoot you an email as well.

    YOP Support gave me a fix that worked – and said it would be fixed in the next release.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘YOP not working with Events Planner Pro’ is closed to new replies.