• 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)
  • Plugin Contributor VeronaLabs Support

    (@veronalabs)

    Hi Benjamin,

    Thank you for reporting that to us.

    We are making some changes and we release a new version by next week.

    Have a nice weekend.

    Best,

    Hi,

    since today I also use php 8 and WP 5.6. since then I get this error message irregularly sent by mail. Here only the text with the error message:

    **********************
    Ein Fehler vom Typ E_ERROR wurde in der Zeile 254 der Datei /home/www/bagnols.info/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 /home/www/bagnols.info/wp-content/plugins/wp-statistics/includes/vendor/whichbrowser/parser/src/Model/Version.php:254
    Stack trace:
    #0 /home/www/bagnols.info/wp-content/plugins/wp-statistics/includes/vendor/whichbrowser/parser/src/Model/Version.php(254): implode(Array, ‘.’)
    #1 /home/www/bagnols.info/wp-content/plugins/wp-statistics/includes/vendor/whichbrowser/parser/src/Model/Primitive/NameVersion.php(95): WhichBrowser\Model\Version->toString()
    #2 /home/www/bagnols.info/wp-content/plugins/wp-statistics/includes/vendor/whichbrowser/parser/src/Analyser/Derive.php(88): WhichBrowser\Model\Primitive\NameVersion->getVersion()
    #3 /home/www/bagnols.info/wp-content/plugins/wp-statistics/includes/vendor/whichbrowser/parser/src/Analyser/Derive.php(32): WhichBrowser\Analyser->deriveOperaRenderingEngine()
    #4 /home/www/bagnols.info/wp-content/plugins/wp-statistics/includes/vendor/whichbrowser/parser/src/Analyser.php(43): WhichBrowser\Analyser->deriveInformation()
    #5 /home/www/bagnols.info/wp-content/plugins/wp-statistics/includes/vendor/whichbrowser/parser/src/Parser.php(56): WhichBrowser\Analyser->analyse()
    #6 /home/www/bagnols.info/wp-content/plugins/wp-statistics/includes/vendor/whichbrowser/parser/src/Parser.php(23): WhichBrowser\Parser->analyse(‘Mozilla/5.0 (Wi…’, Array)
    #7 /home/www/bagnols.info/wp-content/plugins/wp-statistics/includes/class-wp-statistics-user-agent.php(29): WhichBrowser\Parser->__construct(‘Mozilla/5.0 (Wi…’)
    #8 /home/www/bagnols.info/wp-content/plugins/wp-statistics/includes/class-wp-statistics.php(318): WP_STATISTICS\UserAgent::getUserAgent()
    #9 /home/www/bagnols.info/wp-content/plugins/wp-statistics/includes/class-wp-statistics.php(117): WP_Statistics->instantiate()
    #10 /home/www/bagnols.info/wp-includes/class-wp-hook.php(287): WP_Statistics->plugin_setup(”)
    #11 /home/www/bagnols.info/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #12 /home/www/bagnols.info/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
    #13 /home/www/bagnols.info/wp-settings.php(420): do_action(‘plugins_loaded’)
    #14 /home/www/bagnols.info/wp-config.php(117): require_once(‘/home/www/bagno…’)
    #15 /home/www/bagnols.info/wp-load.php(37): require_once(‘/home/www/bagno…’)
    #16 /home/www/bagnols.info/wp-login.php(12): require(‘/home/www/bagno…’)
    #17 {main}
    thrown
    **********************

    I use WP-Statistics 13.0.5

    Is this a problem with the compatibility of WP-Statistics with php 8 and if so, how do I get it fixed?

    Bet regards,
    Siegbert

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP8 Compatibility’ is closed to new replies.