PHP8 Compatibility
-
Hello,
thank your for your great plugin. I’m doing first tests with WordPress 5.6, WP Statistics 13.04 on a PHP8 system. I know you are recommended to use PHP 7.3. On first tests there seemed no errors despite one crash which was reported by WordPress via mail:
Fehler-Details ============== Ein Fehler vom Typ E_ERROR wurde in der Zeile 254 der Datei /var/www/wordpress/wp-content/plugins/wp-statistics/includes/vendor/whichbrowser/parser/src/Model/Version.php verursacht. Fehlermeldung: Uncaught TypeError: implode(): Argument #2 ($array) must be of type ?array, string given in /var/www/wordpress/wp-content/plugins/wp-statistics/includes/vendor/whichbrowser/parser/src/Model/Version.php:254 Stack trace: #0 /var/www/wordpress/wp-content/plugins/wp-statistics/includes/vendor/whichbrowser/parser/src/Model/Version.php(254): implode() #1 /var/www/wordpress/wp-content/plugins/wp-statistics/includes/vendor/whichbrowser/parser/src/Model/Primitive/NameVersion.php(95): WhichBrowser\Model\Version->toString() #2 /var/www/wordpress/wp-content/plugins/wp-statistics/includes/vendor/whichbrowser/parser/src/Analyser/Derive.php(88): WhichBrowser\Model\Primitive\NameVersion->getVersion() #3 /var/www/wordpress/wp-content/plugins/wp-statistics/includes/vendor/whichbrowser/parser/src/Analyser/Derive.php(32): WhichBrowser\Analyser->deriveOperaRenderingEngine() #4 /var/www/wordpress/wp-content/plugins/wp-statistics/includes/vendor/whichbrowser/parser/src/Analyser.php(43): WhichBrowser\Analyser->deriveInformation() #5 /var/www/wordpress/wp-content/plugins/wp-statistics/includes/vendor/whichbrowser/parser/src/Parser.php(56): WhichBrowser\Analyser->analyse() #6 /var/www/wordpress/wp-content/plugins/wp-statistics/includes/vendor/whichbrowser/parser/src/Parser.php(23): WhichBrowser\Parser->analyse() #7 /var/www/wordpress/wp-content/plugins/wp-statistics/includes/class-wp-statistics-user-agent.php(29): WhichBrowser\Parser->__construct() #8 /var/www/wordpress/wp-content/plugins/wp-statistics/includes/class-wp-statistics.php(318): WP_STATISTICS\UserAgent::getUserAgent() #9 /var/www/wordpress/wp-content/plugins/wp-statistics/includes/class-wp-statistics.php(117): WP_Statistics->instantiate() #10 /var/www/wordpress/wp-includes/class-wp-hook.php(287): WP_Statistics->plugin_setup() #11 /var/www/wordpress/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters() #12 /var/www/wordpress/wp-includes/plugin.php(484): WP_Hook->do_action() #13 /var/www/wordpress/wp-settings.php(420): do_action() #14 /var/www/wordpress/wp-config.php(115): require_once('...') #15 /var/www/wordpress/wp-load.php(37): require_once('...') #16 /var/www/wordpress/wp-login.php(12): require('...') #17 {main} thrown
So i’m asking is there PHP8 compatibility planned?
Thank you very much!
Best regards
Benjamin
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘PHP8 Compatibility’ is closed to new replies.