Create custom post with custom user rules

i solve my issue my self by replacing some code as below

i replaced

   register_activation_hook( __FILE__, 'psp_add_project_management_role' );

To

add_action('admin_init','add_testimonial_management_role',998);

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)