Cannot Save Live Template
I want to create a PHP Autoloader as LiveTemplate in PHPStorm.
IN that moment, if something added or edited , I will get the following error
This template Doctrine Entity Repository is given once and cannot be deleted

Please sign in to leave a comment.
You have Doctrine Entity Repository listed twice in templates list; check you <IDE config folder>/fileTemplates - what custom templates do you have there?
Same here, and I don't have that file.
I also disabled the Symfony plugin, and nothing happened.
It doesn't allows to delete or rename it.
```
➜ fileTemplates ls -R
code includes internal j2ee
./code:
./includes:
./internal:
PHP Class.php PHP Trait.php PHPUnit Test.php
PHP File.php PHPSpec Specification.php
PHP Interface.php PHPUnit 6 Test.php
./j2ee:
```
please share your log folder (Help | Compress Logs and Show in ...)
How can I share the zip file or the text files? This tool gives me this error when I try:
You can only upload images (jpeg, gif or png). Image uploads are limited to 2 MB.
The file generated is a zip file `phpstorm-logs-20190825-121808.zip`, which has two text files inside:
- idea.log
- troubleshooting.txt
you can upload it to some file server and share a link here... For example, you can put it on our ftp ftp://ftp.intellij.net/.uploads/ (anonymous login,
.uploadsdirectory has no permissions to list/download files, only for upload, so that other users will not be able to download your files).uploads direcoty is not given. therefore I get permission denied.
should be OK... Try a different server if it doesn't work for you.
See also https://intellij-support.jetbrains.com/hc/en-us/community/posts/360004933039/comments/360000724339
I have uploaded it
http://test.megadruck24.de/phpstorm-logs-20190826-081930.zip
Thanks!
It's a problem with PHP Annotations plugin, it registers this template twice - https://github.com/Haehnchen/idea-php-annotation-plugin/issues/151. Disabling this plugin should help