I've installed an extension via ssh on magento 2, compiled and everithing is ok. The problem is that when enabling production mode i have the error in the image. Any thoughs? Let me know if you need more information, thank you (magento 2.2.4)
So in the end i had to uninstall the extension since the frontend of the store was completely blocked. I've tried to install the same extension on a fresh local magento install but i had errors too. Since the extension have no official support i think that i'll try another plugin. Thanks for the reply all!