Title: php 8.5
Last modified: December 1, 2025

---

# php 8.5

 *  Resolved [terek1972](https://wordpress.org/support/users/terek1972/)
 * (@terek1972)
 * [6 months, 1 week ago](https://wordpress.org/support/topic/php-8-5-2/)
 * Hello!
   updating php 8.5 results in an error2025/12/01 14:48:05 [error] 886950#
   886950: *21 FastCGI sent in stderr: “rray(): Unknown filter with ID 0 in /var/
   www/vhosts/kassir.local.site/html/wp-content/plugins/leaflet-map/class.plugin-
   option.php on line 90; PHP message: PHP Warning: filter_var_array(): Unknown 
   filter with ID 0 in /var/www/vhosts/kassir.local.site/html/wp-content/plugins/
   leaflet-map/class.plugin-option.php on line 90; PHP message: PHP Warning: filter_var_array():
   Unknown filter with ID 0 in /var/www/vhosts/kassir.local.site/html/wp-content/
   plugins/leaflet-map/class.plugin-option.php on line 90; PHP message: PHP Warning:
   filter_var_array(): Unknown filter with ID 0 in /var/www/vhosts/kassir.local.
   site/html/wp-content/plugins/leaflet-map/class.plugin-option.php on line 90; 
   PHP message: PHPWarning: filter_var_array(): Unknown filter with ID 0 in /var/
   www/vhosts/kassir.local.site/html/wp-content/plugins/leaflet-map/class.plugin-
   option.php on line 90; PHP message: PHP Warning: filter_var_array(): Unknown 
   filter with ID 0 in /var/www/vhosts/kassir.local.site/html/wp-content/plugins/
   leaflet-map/class.plugin-option.php on line 90; PHP message: PHP Warning: filter_var_array():
   Unknown filter with ID 0 in /var/www/vhosts/kassir.local.site/html/wp-content/
   plugins/leaflet-map/class.plugin-option.php on line 90; PHP message: PHP Warning:
   filter_var_array(): Unknown filter with ID 0 in /var/www/vhosts/kassir.local.
   site/html/wp-content/plugins/leaflet-map/class.plugin-option.php on line 90; 
   PHP message: PHP Warning: filter_var_array(): Unknown filter withID 0 in /var/
   www/vhosts/kassir.local.site/html/wp-content/plugins/leaflet-map/class.plugin-
   option.php on line 90; PHP message: PHP Warning: filter_var_array(): Unknown 
   filter with ID 0 in /var/www/vhosts/kassir.local.site/html/wp-content/plugins/
   leaflet-map/class.plugin-option.php on line 90; PHP message: PHP Warning: filter_var_array():
   Unknown filter with ID 0 in /var/www/vhosts/kassir.local.site/html/wp-content/
   plugins/leaflet-map/class.plugin-option.php on line 90; PHP message: PHP Warnin

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Contributor [hupe13](https://wordpress.org/support/users/hupe13/)
 * (@hupe13)
 * [6 months, 1 week ago](https://wordpress.org/support/topic/php-8-5-2/#post-18738022)
 * Thank you for the report. php 8.5 is very new, WordPress supports version 8.3.
   Version 8.4 is beta supported. See [https://make.wordpress.org/core/handbook/references/php-compatibility-and-wordpress-versions/](https://make.wordpress.org/core/handbook/references/php-compatibility-and-wordpress-versions/).
 * Please be patient and use php version 8.3 (or 8.4) for the moment.
 *  Thread Starter [terek1972](https://wordpress.org/support/users/terek1972/)
 * (@terek1972)
 * [6 months, 1 week ago](https://wordpress.org/support/topic/php-8-5-2/#post-18738049)
 * Yes, but when I updated to ubuntu 22.04, it automatically switched to php 8.5.
   I had to roll back to 8.4
 *  Plugin Contributor [hupe13](https://wordpress.org/support/users/hupe13/)
 * (@hupe13)
 * [6 months, 1 week ago](https://wordpress.org/support/topic/php-8-5-2/#post-18738157)
 * I have Ubuntu 24.04 installed somewhere, and it runs PHP 8.3. PHP 8.5 is new 
   since last month! Therefore, it is impossible for it to be installed **automatically**
   in Ubuntu 22.04. Perhaps you have a [custom environment](https://launchpad.net/~ondrej/+archive/ubuntu/php).
 * We will fix the warning in due time.
 *  [pedautreppe](https://wordpress.org/support/users/pedautreppe/)
 * (@pedautreppe)
 * [5 months ago](https://wordpress.org/support/topic/php-8-5-2/#post-18775270)
 * On my side, I have corrected the warnings by updating the source code class.plugin-
   option.php
 *     ```wp-block-code
       // $option_filter = array(// 'display_name' => FILTER_SANITIZE_FULL_SPECIAL_CHARS,// 'default' => null,// 'type' => FILTER_SANITIZE_FULL_SPECIAL_CHARS,// 'min' => "",// 'max' => "",// 'step' => "",// 'options' => array(// 'filter' => FILTER_SANITIZE_FULL_SPECIAL_CHARS,// 'flags' => FILTER_FORCE_ARRAY// ),// 'helptext' => null// );$option_filter = array('display_name' => FILTER_SANITIZE_FULL_SPECIAL_CHARS,'default' => FILTER_DEFAULT,'type' => FILTER_SANITIZE_FULL_SPECIAL_CHARS,'min' => FILTER_DEFAULT,'max' => FILTER_DEFAULT,'step' => FILTER_DEFAULT,'options' => array('filter' => FILTER_SANITIZE_FULL_SPECIAL_CHARS,'flags' => FILTER_FORCE_ARRAY),'helptext' => FILTER_DEFAULT);
       ```
   
 *  Plugin Contributor [hupe13](https://wordpress.org/support/users/hupe13/)
 * (@hupe13)
 * [5 months ago](https://wordpress.org/support/topic/php-8-5-2/#post-18775281)
 * Yes you are right. This should be fixed.
 *     ```wp-block-code
       $option_filter = array(            'display_name'     =>     FILTER_SANITIZE_FULL_SPECIAL_CHARS,            //'default'          =>     null, // geht nicht            'type'             =>     FILTER_SANITIZE_FULL_SPECIAL_CHARS,            'min'              =>     FILTER_SANITIZE_NUMBER_FLOAT , // geht nicht            'max'              =>     FILTER_SANITIZE_NUMBER_FLOAT ,// geht nicht            'step'             =>     FILTER_SANITIZE_NUMBER_FLOAT ,// geht nicht            'options'          =>     array(                'filter' => FILTER_SANITIZE_FULL_SPECIAL_CHARS,                'flags'  => FILTER_FORCE_ARRAY            ),            'helptext'         =>  array(              'filter'  => FILTER_CALLBACK,              'options' => function( $helptext ) {                return wp_kses_post( $helptext );              },            ),        );
       ```
   
 * “geht nicht” = “does not work”. I didn’t have time to test that further.
 *  Plugin Contributor [hupe13](https://wordpress.org/support/users/hupe13/)
 * (@hupe13)
 * [5 months ago](https://wordpress.org/support/topic/php-8-5-2/#post-18777264)
 * There is an [issue](https://github.com/bozdoz/wp-plugin-leaflet-map/issues/281)
   on Github now.
 *  Plugin Author [bozdoz](https://wordpress.org/support/users/bozdoz/)
 * (@bozdoz)
 * [4 months, 3 weeks ago](https://wordpress.org/support/topic/php-8-5-2/#post-18787865)
 * I went with FILTER_DEFAULT as I believe it’s not intended to actually filter 
   those keys. [@pedautreppe](https://wordpress.org/support/users/pedautreppe/)
 * Should be released in v3.4.3

Viewing 7 replies - 1 through 7 (of 7 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-8-5-2%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/leaflet-map/assets/icon-256x256.png?rev=1693083)
 * [Leaflet Map](https://wordpress.org/plugins/leaflet-map/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/leaflet-map/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/leaflet-map/)
 * [Active Topics](https://wordpress.org/support/plugin/leaflet-map/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/leaflet-map/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/leaflet-map/reviews/)

 * 7 replies
 * 4 participants
 * Last reply from: [bozdoz](https://wordpress.org/support/users/bozdoz/)
 * Last activity: [4 months, 3 weeks ago](https://wordpress.org/support/topic/php-8-5-2/#post-18787865)
 * Status: resolved