Viewing 4 replies - 1 through 4 (of 4 total)
  • Error in /wp-content/plugins/erp/modules/hrm/includes/class-employee.php on line 519

    Remplace Line 519:

            $get_photo_id = method_exists($this, 'get_photo_id') ? $this->get_photo_id() : 0;
            
            
            if ( $this->user_id && !empty($get_photo_id ) ) {
                return wp_get_attachment_url( $this->photo_id );
            }
    
            return get_avatar_url( $this->user_id, [ 'size' => $size ] );
        }

    Remplace line 540:

            $get_photo_id = method_exists($this, 'get_photo_id') ? $this->get_photo_id() : 0;
            
            if ( $this->user_id && !empty( $get_photo_id) ) {
                $image = wp_get_attachment_thumb_url( $this->photo_id );
    
                return sprintf( '<img src="%1$s" alt="" class="avatar avatar-%2$s photo" height="auto" width="%2$s" />', $image, $size );
            }

    @jamoros08
    It seems something going wrong with the employees’ data you have.
    Can you please create a support ticket here

    Thanks ??

    Thread Starter jamoros08

    (@jamoros08)

    Thanks but how do i solve it??

    @jamoros08
    You can follow the link I mentioned above.Create a support ticket with your site’s credentials, so we can have a look and hope will fix the issue.

    Thanks ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘HR management ERROR’ is closed to new replies.