Plugin PHP file gives error 500 [closed]

The 500 Internal Server Error is a very general HTTP status code that means something has gone wrong on the web site’s server.

You have to enable the debug true to understand what is the problem.

Open the wp-config.php file. To enable debugging mode, change define('WP_DEBUG', false); line to the define('WP_DEBUG', true); in wp-config.php file. Then you can find the what is the error.