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 5 replies - 1 through 5 (of 5 total)
  • 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?

    Plugin Author blackandwhitedigital

    (@blackandwhitedigital)

    Hi

    Yes we will need admin access and FTP details to check this on your site.

    Please file a support request here http://www.wphrmanager.com/submit-a-support-request/ and you will then be able to send the logon details in confidence (don’t post them here).

    Thank you.

    Paul

    Hi Paul,

    Thanks kindly for the follow up – will setup a clone and send over logins shortly.

    Thanks,

    Ian.

    • This reply was modified 2 months, 1 week ago by ianatkins.
    Plugin Author blackandwhitedigital

    (@blackandwhitedigital)

    Received your details. We will look into it and respond from your post on our site. I will close this request now so we don’t have multiple conversations in different places.

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