Hello everyone

I am doing my last year in computer science and got an assignment: convert a drupal 7 module to drupal 8. I did my best to make it but it does not work. I keep getting an error:

Warning: rename(sites/drupal-8.testmodule.dd/files/php/twig/.5e70b703a1,sites/drupal-8.testmodule.dd/files/php/twig/d695662b_status-messages.html.twig_7cf2e298525bf6f023cfb52043e162c007220c37cc947c26431ac532bb16cde9/9157e889efa4ee897c4a5eacca8a5e4b5bc0571b20307149598ae9df8201497b.php): No such file or directory in Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save() (line 86 of core\lib\Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage.php).

The original module: https://www.drupal.org/project/themeenabler
My 'upgraded' version: http://www.filedropper.com/themeenablerdrupal8

Can anyone help me solve this problem?

Thanks in advance.