Hi,
Thanks for reporting this. This is caused by a PHP library conflict. Namely symfony/translation
Both Shield and WP RSS Aggregator have the same PHP library in their plugin but with different versions. It means that when certain code in 1 plugin requires that library and it’s of a different and incompatible version, you’ll get the fatal error.
Shield’s minimum PHP version is 7.2. This means the libraries it uses are fairly recent. The library version in Shield is v5.x, while the library in WP RSS is a bit older at v2.x. The reason theirs is older is because they support older versions of PHP: 5.4+
This restricts them to using older libraries that are going to eventually, as in this case, lead to conflicts with plugins that require a higher minimum version of PHP.
The choice in your case is, unfortunately, not a great one. We don’t plan to downgrade our libraries – in fact, if anything, we’re going to keep pushing our minimum versions higher over time. These are your options:
- ask the developers of WP RSS Aggregator to consider upgrading their libraries.
- if they don’t, you may need to find an alternative.
- find an alternative to Shield Security (there isn’t one ?? )
This incompatibility is the nature of how WordPress works – if it’s not Shield+WP RSS that has a incompatibility today, it’ll be another plugin that has conflicting requirements with WP RSS, as their libraries are fairly outdated. To our mind, the better approach is to move PHP requirements upwards all-round, just as WordPress itself is doing with 6.3 and a minimum requirement of PHP 7.0.
There’s no happy solution here for everyone. Some time ago we ran into similar issues and decided to take steps to bring Shield’s libraries up-to-date.
Let us know if you have any questions and we’d be happy to help.
Edit: if you want to temporarily resolve this issue until the next WP RSS Aggregator upgrade, you can rename the directory
plugins/wp-rss-aggregator/vendor/symfony/translation/
to anything, for example:
plugins/wp-rss-aggregator/vendor/symfony/translation-backup/
This will prevent their older library from loading. It may cause other issues with their plugin that I’m not aware of, so have a test of their functionality to see.
-
This reply was modified 1 year, 3 months ago by Paul. Reason: added workaround