The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

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

  1. Seanmcn
    Posted 3 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