Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author godthor

    (@godthor)

    You must have PHP warnings turned on I’m guessing? I’ll work on squaring those away in the next release. Thanks for pointing it out.

    Thread Starter jacobarriola

    (@jacobarriola)

    Yes, I have my WP_DEBUG set to TRUE .

    Thanks for the quick response!

    I’m seeing another issues, but I’ll open another ticket. Thanks!

    Plugin Author godthor

    (@godthor)

    I believe I have the warnings cleared up, at least in my testing. Would you be able to beta test it for me? I could share the code for dpp.php if you’re able to update your local copy of it?

    Thread Starter jacobarriola

    (@jacobarriola)

    Yup.

    Put it up on GitHub Gist or something.

    Plugin Author godthor

    (@godthor)

    Great, thanks. This is the only one you’ll need: https://github.com/GodThor/Disqus-Popular-Posts/blob/master/dpp.php

    Thread Starter jacobarriola

    (@jacobarriola)

    Progress!

    Still picking up 3 errors:

    1. Undefined offset: 0; Count: 5; Location:wp-content/plugins/disqus-popular-posts/dpp.php:332

    2. Trying to get property of non-object; Count: 5; Location: wp-content/plugins/disqus-popular-posts/dpp.php:332

    3. Undefined variable: img_div; Count: 5; Location: wp-content/plugins/disqus-popular-posts/dpp.php:357

    Plugin Author godthor

    (@godthor)

    It pays to not be a lazy programmer from the start of a project. Anyway, I updated the file again so that should fix (hopefully), the last few notices.

    Thread Starter jacobarriola

    (@jacobarriola)

    Sweet! Errors are gone; however, there’s a hanging semi-colon. I opened PR for you to take a look.

    Plugin Author godthor

    (@godthor)

    Thanks for catching that, and for your help with this.

    I’ve just pushed out the update.

    Thread Starter jacobarriola

    (@jacobarriola)

    Awesome. Thanks again.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘PHP errors’ is closed to new replies.