an
groups-icon

Coupon Theme / WP Views Conflict

Wait a minute... This content is very very old. We no longer sell or support this theme version. New Topics
  • Version 9
    David Tulo
    0 points
    Beginner

    There is a conflict between Coupon Theme and the WP Views plugin. For full details, see https://wp-types.com/forums/topic/conflict-between-responsive-couponpress-and-wp-views-on-desktopserver-platform/#post-206233

    Short Short Version: WP Views defines SAVEQUERIES for use with debugging later on, but Coupon Theme file “class_white_label_themes.php” lines 7135 – 7139 output debug info when SAVEQUERIES is defined, regardless of it being a true or false definition, or if a site administrator is logged in.

    I suspect that there are plenty of other plugins that may cause identical issues. I’d suggest changing line 7135 to read:

    if ( current_user_can( ‘administrator’ ) && (defined(‘SAVEQUERIES’)) && (SAVEQUERIES == ‘true’) ){

    That should reasonably avoid conflicts on the Coupon Theme side of things, without requiring too much of a headache such as specialized “debug mode” switches and code.

    March 23, 2014 at 1:57 am
  • David Tulo
    0 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    March 25, 2014 at 2:00 pm

499

Views

1

Replies