• Resolved thomasdm

    (@thomasdm)


    Hi,

    When I create a user in User > Add, it’s impossible to show the password.
    When I click on the bouton “show password”, nothing is happening. It’s impossible to create user because an error on form appears :

    ERROR: The two passwords are not identical.

    I have 2 errors JS :

    user-new.php:1176 Uncaught ReferenceError: datepickerL10n is not defined
    at HTMLDocument.<anonymous> (user-new.php:1176)
    at i (jquery.js?ver=1.12.4:2)
    at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2)
    at Function.ready (jquery.js?ver=1.12.4:2)
    at HTMLDocument.K (jquery.js?ver=1.12.4:2)

    Uncaught TypeError: Cannot read property ‘hasClass’ of undefined
    at HTMLDocument.<anonymous> (wp-auth-check.min.js?ver=759e406ab7dddd1aad30b91484945a3f:1)
    at HTMLDocument.dispatch (jquery.js?ver=1.12.4:3)
    at HTMLDocument.r.handle (jquery.js?ver=1.12.4:3)
    at Object.trigger (jquery.js?ver=1.12.4:3)
    at Object.a.event.trigger (jquery-migrate.min.js?ver=1.4.1:2)
    at HTMLDocument.<anonymous> (jquery.js?ver=1.12.4:3)
    at Function.each (jquery.js?ver=1.12.4:2)
    at a.fn.init.each (jquery.js?ver=1.12.4:2)
    at a.fn.init.trigger (jquery.js?ver=1.12.4:3)
    at Object.<anonymous> (heartbeat.min.js?ver=759e406ab7dddd1aad30b91484945a3f:1)

    When I desactivate MangoPay, I can show password and create user.

    Regards

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

    (@mangopay)

    Hello @thomasdm

    This JS error is most likely caused by a conflict with another plugin that loads a conflicting version of the datepicker library. Please de-activate any such plugin.

    Best regards,

    Audouin,

    Thread Starter thomasdm

    (@thomasdm)

    Hello !

    After testing the problem comes from a conflict between MangoPay and ACF Pro.
    It’s really bad …

    How to solve this problem?
    ACF Pro being essential for its site just like MangoPay

    Regards

    Thread Starter thomasdm

    (@thomasdm)

    Hi,

    With the support of ACF Pro, we found the problem.

    The issue could have something to do with different versions of the datepicker library. Would you mind dequeuing the ACF datepicker by adding this code to your theme’s functions.php file and check if this will fix the issue:

    add_filter(‘acf/settings/enqueue_datepicker’, ‘__return_false’);
    add_filter(‘acf/settings/enqueue_datetimepicker’, ‘__return_false’);

    With the part of code, the problem as solved.

    Best Regards,

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cannot show Password User’ is closed to new replies.