• Resolved stevenbritton

    (@stevenbritton)


    Let me start by saying that WP-CR is an awesome plugin; you guys did a great job!

    Now, due to some performance issues, I’ve been doing a little debugging on my site and came across a bunch of notices for undefined variables and such for WP-CR and just wanted to bring this to your attention. It’s also worth noting that, as soon as I deactivated the plugin, the site’s performance was much better.

    Here are said notices:

    Undefined property: stdClass::$wpcrp in /plugins/wp-customer-reviews/wp-customer-reviews.php on line 996

    Notice: Undefined offset: 0 in /plugins/wp-customer-reviews/wp-customer-reviews.php on line 564

    Notice: Undefined offset: 1 in /plugins/wp-customer-reviews/wp-customer-reviews.php on line 564

    Notice: Undefined offset: 2 in /plugins/wp-customer-reviews/wp-customer-reviews.php on line 564

    Undefined property: stdClass:: all properties in stdClass
    ___________________________________________________________________
    I’m not sure this is directly related to WP v 3.2.1 or not, but I thought I’d bring it to your attention.

    -Steve

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Aaron Queen

    (@bompus)

    Thanks for the info. You can try the latest version and see if some of those notices go away. The plugin is built from a performance perspective, so it should not have a negative impact on any site that is not running PHP in “Notice” error mode.

    That all being said.. I do need to run through the plugin with notice errors turned on, so I can eliminate any of those notices, as having those show it a problem and could affect performance on blogs where notices are enabled.

    So.. try the new version and see if any of those go away.. If you could report back which ones you still find, that would be very helpful until I get a chance to do that.

    Thanks!

    Plugin Author Aaron Queen

    (@bompus)

    2.3.7 fixes this issue. It had to do with E_NOTICE being turned on in your site’s PHP configuration.. Your post helped a lot because it prompted me to do a thorough profiling of the plugin with E_NOTICE enabled, and let me get rid of all of those warnings, which in turn fixed the performance issue with having it enabled.

    After you update to 2.3.7 , you may also want to consider turning off E_NOTICE , since many other popular plugins (CommentLuv, All in One SEO, and others) have the same problem with causing E_NOTICE warnings on almost every page, including the entire admin area.

    Thanks again, and please try out 2.3.7 — it has a LOT of improvments in it.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Potential Performance issue’ is closed to new replies.