Migrate user password hash

We are migrating our old site from plain PHP to Drupal 8. Passwords are hashed with MD5 in the old site; I need to migrate them in Drupal. I tried the following code, but it takes the password as plain text and calculates its SHA hash. public function prepareRow(Row $row) { $password = $row->getSourceProperty(‘user_password’); $hash…

Fatal error: Cannot declare class WP_User_Request, because the name is already in use?

Suddenly I am getting the following error on my website, I don’t know why, these are the following errors shown on my website: 1)Fatal error: Cannot declare class WP_User_Request, because the name is already in use in /home/hnukt37ls4nt/public_html/wp-includes/user.php on line 3657 2)Fatal error: Uncaught Error: Call to undefined function wp_kses_normalize_entities() in /home/hnukt37ls4nt/public_html/wp-includes/formatting.php:4316 Stack trace: #0…