Problem/Motivation
Fresh install
Required the module,
configured the strava settings and now:
"PHP message: TypeError: Drupal\strava\Controller\StravaController::__construct(): Argument #2 ($logger_factory) must be of type Drupal\Core\Logger\LoggerChannelFactory, Drupal\redirect_404\Render\Redirect404LogSuppressor given, called in /var/www/html/web/modules/contrib/strava/src/Controller/StravaController.php on line 52
It seems there's a conflict with the Redirect 404 module
If I alter the constructor like so:
public function __construct(RequestStack $request_stack, Redirect404LogSuppressor $logger_factory) {
I get it working (linking to strava and all.
I was not sure if setting the module weight had any impact on this so I tried it with both high an low weight for the Strava and redirect 404 module.
module_set_weight('strava', 1000)
To no avail.
Steps to reproduce
install redirect_404
install strava