Support » Plugin: WP-HR Manager: The Human Resources Plugin for WordPress » Edit Employee Bug / Request Leave Bug

  • Resolved ianatkins

    (@ianatkins)


    Hello.

    We’re running Version 2.3 on WordPress Version 5.2.4 and seeing the following errors.

    Edit Profile
    On the frontend, my profile. Clicking edit opens the modal but it doesn’t finish loading – just shows the loading spinner. In the JavaScript console can see the following error:
    Uncaught TypeError: Cannot read property ‘replace’ of undefined
    at Function.s.template (underscore.min.js?ver=1.8.3:1)
    at wp-util.js?ver=a1ec13f35355d7b31d8dad2be63f1579:39
    at Object.success (hrm.js?ver=1572019135:767)
    at i (jquery.js?ver=1.12.4-wp:2)
    at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4-wp:2)
    at Object.<anonymous> (wp-util.js?ver=a1ec13f35355d7b31d8dad2be63f1579:112)
    at i (jquery.js?ver=1.12.4-wp:2)
    at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4-wp:2)
    at x (jquery.js?ver=1.12.4-wp:4)
    at XMLHttpRequest.c (jquery.js?ver=1.12.4-wp:4)

    Leave Request
    On the frontend leave request form, clicking request leave button opens the modal.The form laods, when you fill it out to complete a request an alert box opens with Object Object.

    Thanks,

    Ian.

Viewing 3 replies - 1 through 3 (of 3 total)
  • ianatkins

    (@ianatkins)

    Also to add, the leave policies seem all out of whack. If I add a policy of 10 days, it’s assigned to an employee as 1 day. If I make a policy with 30 days, it’s assigned as 5.

    – Have created a specific location for the employees (not using ‘All Locations’ or default)
    – Have linked the employees to that location
    – Have created a Leave Policy linked to that location.
    – Have also done a clean install and disabled all other plugins.

    Thanks,

    Ian.

    Plugin Author blackandwhitedigital

    (@blackandwhitedigital)

    Hi

    Thanks we will look into this. We may need admin and ftp access to your site – is that possible?

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    @blackandwhitedigital I’ve deleted your offer to login to your user’s site. I’m am 100% sure you mean well but please never ask for credentials. I have flagged your account temporarily. That just means that your post will need to be approved and @ notifications from you will not work.

    https://wordpress.org/support/guidelines/#the-bad-stuff

    Now for the why: The internet is a wonderful place full of very nice people and a few very bad ones. I’m sure everyone here is very nice however, by giving some ones keys to your house you are trusting they wont steal anything. Likewise the person who takes the keys is now responsible for the house FOREVER.

    If something was to go wrong, then you the author may well legally become liable for damages, which they would not normally have been as their software is provided without warranty.

    Please be aware that repeatedly asking for credentials will result in us asking you to repeatedly stop before escalating up to the plugins team.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.