Use LoggerChannelFactoryInterface instead of LoggerChannelFactory
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3042509. -->
Reported by: [ericawright](https://www.drupal.org/user/3387184)
>>>
<p>Similar to this issue: <a href="https://www.drupal.org/project/instagram_api/issues/2984699">https://www.drupal.org/project/instagram_api/issues/2984699</a>, we need to replace LoggerChannelFactory with LoggerChannelFactoryInterface because some modules (like Redirect 404 in the Redirect module) can cause an issue.</p>
<p><em>TypeError: Argument 8 passed to Drupal\plotly_js\Plugin\Field\FieldWidget\PlotlyJsGraphWidget::__construct() must be an instance of Drupal\Core\Logger\LoggerChannelFactory, instance of Drupal\redirect_404\Render\Redirect404LogSuppressor given</em></p>
issue