WordPress shows after migration

I copied the files of our WordPress live site from Cpanel and export the database. In my local, I paste the WordPress files to htdocs > devfolder and then import the database to localhost/PHPMyAdmin. Using search and replace the live URL to localhost. Also, changed the configuration of the wp-config file. Then when I visit my local version, the site has some code on the upper part of the front end and admin when you logged in. I think that is the code for FAQ custom post type because that is missing compared to the live site.

How can I fix that kind of error? Thanks.