After the Installation when i click on activation this theme i get an Error Code "Parse error: Syntax error, unexpected end of file in ...... class-tgm-plugin-activation.php on line 1940"

the end of the Code lokks like so:
public function does_plugin_have_update( $slug ) {
// Presume bundled and external plugins will point to a package which meets the minimum required version.
if ( 'repo' !== $this->plugins[ $slug ]['source_type'] ) {
if ( $this->does_plugin_require_update( $slug ) ) {
return $this->plugins[ $slu

I download the Zip file again, unzipped it and the error is still there.

What is to do?