Cannot ACTIVATE Affiliates Pro in staging env

Posted in

We bought the Pro plugin for our WordPress website (so we could integrate the Affiliate Coupons plugin for WooCommerce).

Download+install was successful for our production site (atpmechanix.com).
When trying to do the same for our staging site (staging.atpmechanix.com), the plugins install just fine, but I cannot activate the Pro plugin.

When I press “activate”, it acts like it’s doing something, then when page reloads, it still says inactive.

What gives?
Is there any other info that I could provide to help you help me resolve this quickly?

6 Responses to Cannot ACTIVATE Affiliates Pro in staging env

  1. George April 25, 2016 at 2:54 pm #

    That’s great William!

    Free version doesn’t work with Pro or Enterprise versions.

    The list of available integrations can be found under Affiliates>Settings>Integrations. ie if you are using Affiliates WooCommerce Integration Light, you should uninstall it and install Affiliates WooCommerce Integration which has more options and also it is free with the Pro version.

    Kind regards,
    George

  2. George April 25, 2016 at 7:31 am #

    Hi William,

    Thanks for the output.

    This seems to be related to your theme, but just in case, please switch to a one of the default themes like twentyfifteen.
    Also, deactivate the plugin on your live site and try again.

    If these don’t work, please provide admin access to your staging site by sending credentials to george at itthinx dot com.

    Kind regards,
    George

    • William April 25, 2016 at 2:03 pm #

      Thanks!
      I think I may have found the solution though.

      I noticed a difference when going to disable the Pro plugin on the live site: the free version is not installed there.
      So, in staging, I deactivated the free version and tried again, and viola. Success.

      I had @$$umed the Pro plugin stacked upon the free version.
      I guess not :-j

      Thanks for the assistance.

      • William April 25, 2016 at 2:09 pm #

        Also, since Pro does not stack upon the free version, am I correct to presume that the integration plugin is no longer needed either?

  3. William April 25, 2016 at 3:37 am #

    Frustratingly, it is just a bunch of deprecation errors, and they don’t help much.

    First, the code line numbers referenced in the errors are just the line numbers for the error handling functions which detect the deprecated code (not where the deprecated code is actually found).

    Secondly, these error handling functions are only active when debug mode is turned ON, so the errors provided may not even be an issue when in production mode.

    Finally, the same errors are thrown regardless of whether I’m loading the plugins page, or trying to activate this stubborn/resistant Pro plugin, so again, I suspect they may be irrelevant.

    Nonetheless, here’s the error log in case it can help.
    [25-Apr-2016 03:28:49 UTC] PHP Notice: get_theme_data is deprecated since version 3.4! Use wp_get_theme() instead. in /home/public_html/staging/wp-includes/functions.php on line 3573
    [25-Apr-2016 03:28:49 UTC] PHP Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use __construct() instead. in /home/public_html/staging/wp-includes/functions.php on line 3624
    [25-Apr-2016 03:28:49 UTC] PHP Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use __construct() instead. in /home/public_html/staging/wp-includes/functions.php on line 3624
    [25-Apr-2016 03:28:49 UTC] PHP Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use __construct() instead. in /home/public_html/staging/wp-includes/functions.php on line 3624
    [25-Apr-2016 03:28:49 UTC] PHP Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use __construct() instead. in /home/public_html/staging/wp-includes/functions.php on line 3624
    [25-Apr-2016 03:28:49 UTC] PHP Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use __construct() instead. in /home/public_html/staging/wp-includes/functions.php on line 3624
    [25-Apr-2016 03:28:49 UTC] PHP Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use __construct() instead. in /home/public_html/staging/wp-includes/functions.php on line 3624
    [25-Apr-2016 03:28:49 UTC] PHP Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use __construct() instead. in /home/public_html/staging/wp-includes/functions.php on line 3624
    [25-Apr-2016 03:28:49 UTC] PHP Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use __construct() instead. in /home/public_html/staging/wp-includes/functions.php on line 3624
    [25-Apr-2016 03:28:49 UTC] PHP Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use __construct() instead. in /home/public_html/staging/wp-includes/functions.php on line 3624
    [25-Apr-2016 03:28:49 UTC] PHP Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use __construct() instead. in /home/public_html/staging/wp-includes/functions.php on line 3624
    [25-Apr-2016 03:28:49 UTC] PHP Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use __construct() instead. in /home/public_html/staging/wp-includes/functions.php on line 3624
    [25-Apr-2016 03:28:49 UTC] PHP Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use __construct() instead. in /home/public_html/staging/wp-includes/functions.php on line 3624
    [25-Apr-2016 03:28:49 UTC] PHP Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use __construct() instead. in /home/public_html/staging/wp-includes/functions.php on line 3624
    [25-Apr-2016 03:28:49 UTC] PHP Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use __construct() instead. in /home/public_html/staging/wp-includes/functions.php on line 3624
    [25-Apr-2016 03:28:55 UTC] PHP Notice: get_theme_data is deprecated since version 3.4! Use wp_get_theme() instead. in /home/public_html/staging/wp-includes/functions.php on line 3573
    [25-Apr-2016 03:28:55 UTC] PHP Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use __construct() instead. in /home/public_html/staging/wp-includes/functions.php on line 3624
    [25-Apr-2016 03:28:55 UTC] PHP Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use __construct() instead. in /home/public_html/staging/wp-includes/functions.php on line 3624
    [25-Apr-2016 03:28:55 UTC] PHP Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use __construct() instead. in /home/public_html/staging/wp-includes/functions.php on line 3624
    [25-Apr-2016 03:28:55 UTC] PHP Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use __construct() instead. in /home/public_html/staging/wp-includes/functions.php on line 3624
    [25-Apr-2016 03:28:55 UTC] PHP Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use __construct() instead. in /home/public_html/staging/wp-includes/functions.php on line 3624
    [25-Apr-2016 03:28:55 UTC] PHP Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use __construct() instead. in /home/public_html/staging/wp-includes/functions.php on line 3624
    [25-Apr-2016 03:28:55 UTC] PHP Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use __construct() instead. in /home/public_html/staging/wp-includes/functions.php on line 3624
    [25-Apr-2016 03:28:55 UTC] PHP Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use __construct() instead. in /home/public_html/staging/wp-includes/functions.php on line 3624
    [25-Apr-2016 03:28:55 UTC] PHP Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use __construct() instead. in /home/public_html/staging/wp-includes/functions.php on line 3624
    [25-Apr-2016 03:28:55 UTC] PHP Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use __construct() instead. in /home/public_html/staging/wp-includes/functions.php on line 3624
    [25-Apr-2016 03:28:55 UTC] PHP Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use __construct() instead. in /home/public_html/staging/wp-includes/functions.php on line 3624
    [25-Apr-2016 03:28:55 UTC] PHP Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use __construct() instead. in /home/public_html/staging/wp-includes/functions.php on line 3624
    [25-Apr-2016 03:28:55 UTC] PHP Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use __construct() instead. in /home/public_html/staging/wp-includes/functions.php on line 3624
    [25-Apr-2016 03:28:55 UTC] PHP Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use __construct() instead. in /home/public_html/staging/wp-includes/functions.php on line 3624

    ANY and ALL feedback would be appreciated!

  4. George April 22, 2016 at 7:30 am #

    Hi William,

    Please enable debugging on your staging site and try again. If there is something recorded in your debug.log file, please reply here.

    Kind regards,
    George

We use cookies to optimize your experience on our site and assume you're OK with that if you stay.
OK, hide this message.

Affiliates · Contact · Jobs · Terms & Conditions · Privacy Policy · Documentation · Downloads · Useful Plugins · My Account

Share