This fix has been abandoned. You are free to use it and adjust it however you please. Any contribution will still be reviewed and merged.
This is a Fix for Magento 2.2.4 and 2.2.5 where the Product Breadcrumbs are generated with JS normally and contain unwanted text
Create a folder named CompactCode/FixProductBreadcrumbs under your app/code folder within your Magento Root directory and place all provided files within the src directory under that.
You need to perform the following commands after that (within your magento root directory via ssh):
php bin/magento cache:clean
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
composer config repositories.compact-code-fix-product-breadcrumbs git git@github.com:CompactCodeEU/FixProductBreadcrumbs.git
composer require "compactcode/fixproductbreadcrumbs:dev-master"
php bin/magento setup:upgrade