Pricing Table
(Notice) PLUGINDIR already defined + Fix (3 posts)

  1. Seanmcn
    Posted 2 years ago #

    Hi there, with wp_debug set to true depending on what plugins you are also running 'PLUGINDIR' can already be defined. I suggest you change line 22:


    to :

    if (!defined('PLUGINDIR')) {


  2. Air.
    Posted 2 years ago #

    Yes, same here. It should be easy to trace for author as they should work on plugins with debug mode ON. Above solution should be added to plugin. Anyway this constant is used in wp-includes/default-constants.php

    if ( !defined('PLUGINDIR') )
    		define( 'PLUGINDIR', 'wp-content/plugins' ); // Relative to ABSPATH. For back compat.

    Fixing this would enable work with plugin when debug mode is ON, cause now above Warning produces other

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent

    Keep up great work!

    With regards.

  3. Shaon
    Plugin Author

    Posted 2 years ago #

    Thanks, I'm adjusting those issue and updating soon

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Pricing Table
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic