I tried to setup matomo on my own webserver using mariaDB, apache24 and php8.3 all in the latest versions according to matomo’s installation guide with every necessery php extension etc.
But I get this error:
Fatal error: Uncaught Error: Call to undefined function Piwik\filter_var() in /usr/local/www/apache24/data/matomo/core/Url.php:358 Stack trace: #0 /usr/local/www/apache24/data/matomo/core/ExceptionHandler.php(160): Piwik\Url::getRFCValidHostname() #1 /usr/local/www/apache24/data/matomo/core/ExceptionHandler.php(101): Piwik\ExceptionHandler::getErrorResponse(Object(Zend_Db_Adapter_Exception)) #2 /usr/local/www/apache24/data/matomo/core/ExceptionHandler.php(42): Piwik\ExceptionHandler::dieWithHtmlErrorPage(Object(Error)) #3 [internal function]: Piwik\ExceptionHandler::handleException(Object(Error)) #4 {main} thrown in /usr/local/www/apache24/data/matomo/core/Url.php on line 358
Matomo encountered an error: Uncaught Error: Call to undefined function Piwik\filter_var() in /usr/local/www/apache24/data/matomo/core/Url.php:358 Stack trace: #0 /usr/local/www/apache24/data/matomo/core/ExceptionHandler.php(160): Piwik\Url::getRFCValidHostname() #1 /usr/local/www/apache24/data/matomo/core/ExceptionHandler.php(101): Piwik\ExceptionHandler::getErrorResponse(Object(Zend_Db_Adapter_Exception)) #2 /usr/local/www/apache24/data/matomo/core/ExceptionHandler.php(42): Piwik\ExceptionHandler::dieWithHtmlErrorPage(Object(Error)) #3 [internal function]: Piwik\ExceptionHandler::handleException(Object(Error)) #4 {main} thrown (which lead to: Session must be started before any output has been sent to the browser; output started in /0)