• Resolved guberish

    (@guberish)


    Hello,

    I’m having some major issues with the 1.2.0 Update (I just updated to 1.2.1 hoping that would fix my problem to no avail).

    Anyway, I had 1.1.0 installed, worked beautifully! When we tried to update the plugin to 1.2.0, our site broke, completely. Our web hosting support team said the following:

    I am seeing the following php error when trying to load the site:

    [10-Nov-2017 14:56:20 UTC] PHP Fatal error: Uncaught Error: Call to a member function add_role() on boolean in /html/wp-content/plugins/yith-woocommerce-affiliates/includes/class.yith-wcaf.php:419
    Stack trace:
    #0 /html/wp-content/plugins/yith-woocommerce-affiliates/includes/class.yith-wcaf.php(220): YITH_WCAF->_install_role()
    #1 /html/wp-includes/class-wp-hook.php(298): YITH_WCAF->install(”)
    #2 /html/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array)
    #3 /html/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
    #4 /html/wp-settings.php(448): do_action(‘init’)
    #5 /html/wp-config.php(78): require_once(‘/chroot/home/am…’)
    #6 /html/wp-load.php(37): require_once(‘/chroot/home/am…’)
    #7 /html/wp-blog-header.php(13): require_once(‘/chroot/ho in /chroot/html/wp-content/plugins/yith-woocommerce-affiliates/includes/class.yith-wcaf.php on line 419

    So we disabled your plugin and the site was back up. When I tried to re-enable it, our site kept breaking. I rolled back the update and that worked BUT with some issues (even though it’s updated to the most current version, these errors still appear/are occurring):

    1. Newly generated links are NOT being recorded (they are generating but not displaying in the “Clicks” section.
    2. Old generated links appear as https://www.website.com/wp-admin/admin-ajax.php

    I can provide you with a sample affiliate login account for you to see for yourself.

    Please, we have affiliates that use this and we want to be sure they can continue to do so.

    Sorry for the lengthily message, I want to be sure you understand exactly what happened and the result.

    I look forward to your reply. Thank you in advance.

    Best regards,

    Jane N.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi Jane

    Thank you for your report

    The PHP error that you highlighted should be solved within revision 1.2.1
    Could you please try to update?

    If updating didn’t solved it, maybe there was a problem with automatic update procedure; could you please manually upload plugin package to your server and let me know if this solves the issue?

    Otherwise, if the problem persits, could you please send me log of the error that happens with new plugin version?

    Regarding clicks, I performed the following test on my local installation
    1. Logged in as an affiliate and visited my Affiliate Dashboard
    2. Generated a referral link using Link Generator view
    3. Copied that url and visited it in anonymous navigation
    4. Checked again my Affiliate Dashboard, Clicks view, to see if click that I performed in anonymous navigation was recorded

    Could you please replicate this little test and let me know if the problem persists?

    Please, let me know

    Thread Starter guberish

    (@guberish)

    Sorry for the late reply. The latest update fixed everything. thanks so much!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Link Issues (old & new links generated)’ is closed to new replies.