Your screenshot is not the correct place to make the edit. Please see my post below.
www.joomlapolis.com/forum/153-professional-member-support/222189-user-login-forgot-login-doesnt-work?limitstart=0
Please try the below additional fix and see if your errors go away.
IN: /administrator/components/com_comprofiler/library/cb/cb.database.php
ON: Lines 1232 - 1236
FROM:
Code:
if ( is_object( $cur ) && get_class( $cur ) == 'mysqli_result' ) {
mysqli_free_result( $cur );
} else {
mysql_free_result( $cur );
}
TO:
Code:
if ( is_callable( array( $this->_db, 'freeResult' ) ) ) {
$this->_db->freeResult( $cur );
} elseif ( is_object( $cur ) && get_class( $cur ) == 'mysqli_result' ) {
mysqli_free_result( $cur );
} else {
mysql_free_result( $cur );
}
Aside from that I don't have anything more to advise, sorry. The above fixes have confirmed resolved the issue on over 3 installs.