title: WP-Statistics Uncaught TypeError: implode(): Argument #2 ($array) must be of type ?array, string given
body: <p>After updating my PHP from <code>7</code> to <code>8.0.1</code> I faced this error on <code>Wordpress 5.3.6</code></p>
  <blockquote>
  <p>The Site Is Experiencing Technical Difficulties.</p>
  </blockquote>
  <p>After checking my email inbox I got this error:</p>
  <blockquote>
  <p>E_ERROR at line 254 /public_html/wp-content/plugins/wp-statistics/includes/vendor/whichbrowser/parser/src/Model/Version.php occured.</p>
  </blockquote>
  <p>and the error message is:</p>
  <blockquote>
  <p>Error Message: Uncaught TypeError: implode(): Argument #2 ($array) must be of type ?array, string given in public_html/wp-content/plugins/wp-statistics/includes/vendor/whichbrowser/parser/src/Model/Version.php:254</p>
  </blockquote>
  <p>It seems the problem is via <code>WP-Statistics</code> plugin but there is no update for this plugin.</p>
  <p>So please help me.</p>