I was just trying to generate a new plugin for my matomo because I wanted to generate some custom reports, but it didn’t work.
This was the response i got:
WARNING [2020-05-18 08:39:59] 21717 /var/www/html/X/plugins/CoreConsole/Commands/GeneratePluginBase.php(56): Warning - file_put_contents(/var/www/html/X/plugins/X/CHANGELOG.md): failed to open stream: No such file or directory - Matomo 3.13.5 - Please report this message in the Matomo forums: https://forum.matomo.org (please do a search first as it might have been reported already)
WARNING [2020-05-18 08:39:59] 21717 /var/www/html/X/plugins/CoreConsole/Commands/GeneratePluginBase.php(56): Warning - file_put_contents(/var/www/html/X/plugins/X/X.php): failed to open stream: No such file or directory - Matomo 3.13.5 - Please report this message in the Matomo forums: https://forum.matomo.org (please do a search first as it might have been reported already)
WARNING [2020-05-18 08:39:59] 21717 /var/www/html/X/plugins/CoreConsole/Commands/GeneratePluginBase.php(56): Warning - file_put_contents(/var/www/html/X/plugins/X/README.md): failed to open stream: No such file or directory - Matomo 3.13.5 - Please report this message in the Matomo forums: https://forum.matomo.org (please do a search first as it might have been reported already)
WARNING [2020-05-18 08:39:59] 21717 /var/www/html/X/plugins/CoreConsole/Commands/GeneratePluginBase.php(56): Warning - file_put_contents(/var/www/html/X/plugins/X/config/config.php): failed to open stream: No such file or directory - Matomo 3.13.5 - Please report this message in the Matomo forums: https://forum.matomo.org (please do a search first as it might have been reported already)
WARNING [2020-05-18 08:39:59] 21717 /var/www/html/X/plugins/CoreConsole/Commands/GeneratePluginBase.php(56): Warning - file_put_contents(/var/www/html/X/plugins/X/config/tracker.php): failed to open stream: No such file or directory - Matomo 3.13.5 - Please report this message in the Matomo forums: https://forum.matomo.org (please do a search first as it might have been reported already)
WARNING [2020-05-18 08:39:59] 21717 /var/www/html/X/plugins/CoreConsole/Commands/GeneratePluginBase.php(56): Warning - file_put_contents(/var/www/html/X/plugins/X/docs/faq.md): failed to open stream: No such file or directory - Matomo 3.13.5 - Please report this message in the Matomo forums: https://forum.matomo.org (please do a search first as it might have been reported already)
WARNING [2020-05-18 08:39:59] 21717 /var/www/html/X/plugins/CoreConsole/Commands/GeneratePluginBase.php(56): Warning - file_put_contents(/var/www/html/X/plugins/X/docs/index.md): failed to open stream: No such file or directory - Matomo 3.13.5 - Please report this message in the Matomo forums: https://forum.matomo.org (please do a search first as it might have been reported already)
WARNING [2020-05-18 08:39:59] 21717 /var/www/html/X/plugins/CoreConsole/Commands/GeneratePluginBase.php(56): Warning - file_put_contents(/var/www/html/X/plugins/X/plugin.json): failed to open stream: No such file or directory - Matomo 3.13.5 - Please report this message in the Matomo forums: https://forum.matomo.org (please do a search first as it might have been reported already)
Plugin GoMatch 0.1.0 generated.
Our developer guides will help you developing this plugin, check out https://developer.matomo.org/guides
To see a list of available generators execute ./console list generate
Enjoy!
Error: error or warning logs detected, exit 1
When I try to activate the plugin it says that the Plugin cannot be found in the filesystem in plugins/ directory.
Can anybody help?