• ecottles

    (@ecottles)


    ?? Activated the plugin on my development platform for first time. I received the same error as reported by other user. I deactivated the plugin then reactivated it and the error no longer exist.

    ?? How can we reproduce this Bug?

    Not really sure how. The error should not have occurred since it was already fixed, prior to installing the plugin for the first time on my development site.

    Good Day

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Addonify

    (@addonify)

    Hi @ecottles,

    Thank you for reporting the issue.

    We would like to know, did you encounter the issue when installing and activating the latest plugin version? Also, can you tell us what WordPress and PHP version are you currently using?

    It would be helpful for debugging the issue.

    Best regards.

    Thread Starter ecottles

    (@ecottles)

    Hello,

    WordPress Version 6.4.3….PHP Version 7.4.30…Wishlist Version 2.0.10 Woocommerce Version 8.5.2

    I installed version 2.0.10 of the plugin, and it has never been installed on my development platform before this version.

    The error occurred after attempting to add a product to the wish list from the shop page for the first time. Please note, at this point, I only set the wish list page, inserted the referenced wishlist page shortcode into said page and turned on the sidebar in the plugin admin. The error presented itself in the popup that would normally confirm that the product was successfully added to the list. In this instance, the product was not added and instead the error was displayed in the pop up.

    I then proceeded to this support thread and read Unable to add to wishlist (2) where the issue was reported and fixed in the current version, a few weeks ago. I then proceeded to deactivate then reactivate the plugin, whereby the product was successfully added to the list without error.

    Also, while evaluating the plugin there are two classes within addonify-wishlist-icon.min.css?ver=2.0.10 named .settings::before and .x::before. The .x::before places a content tag in the very popular Flatsome theme slider(flickity slider). https://prnt.sc/xYV7Mad0WtEq

    The .settings::before places a content tag in the very popular Dokan Multi vendor dashboard menu. https://prnt.sc/lqMVGxxgTh7G

    Not a big deal, as the tag can easily be hidden. However, as is, the tag might give the impression that the plugin is problematic to users trying it out for the first time.

    Please note that the mentioned anomalies are what I have noticed so far.

    Good Day

    • This reply was modified 1 year ago by ecottles.
    Thread Starter ecottles

    (@ecottles)

    Hello,

    My previous report of the errors is not accurate. The following is accurate.

    When customer registration on the My Account page is enabled, the user is automatically logged in. The errors reported occur because add_action( ‘wp_login’, $plugin_public, ‘maybe_create_and_migrate_wishlist_data’, 10, 2 ); does not fire. If the user logs out and logs back in the action fires and the errors cease.

    So, to reproduce the issue enable registration on MY Account page ( CHECK:: Allow customers to create an account on the “My account” page ). All 3 other “Account creation” options must be UNCHECKED. Register as new user. After automatic login attempt to add a product to wish list.

    Under this scenario, you need to hook into do_action( ‘woocommerce_created_customer’, $customer_id, $new_customer_data, $password_generated ); to overcome this issue.

    Good Day

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Unable to add to wishlist (3)’ is closed to new replies.