• Resolved zviera

    (@zviera)


    Hi,

    your plugin works great, but it’s creating PHP Warnings “PHP Notice: Constant WPP_VERSION already defined”.

    The problem is that your plugin is trying to create the same contant as is already created by WordPress Popular Posts plugin.

    You should do a simple check:

    if (!defined('constant')) define('constant', 'value');

    Or you could change the constant to something more unique than “WPP_VERSION”.

    Best regards.

  • The topic ‘Conflict with WordPress Popular Posts: Constant already defined’ is closed to new replies.