Title: PHP 8 Deprecated code
Last modified: February 8, 2021

---

# PHP 8 Deprecated code

 *  Resolved [Mikhail Alferov](https://wordpress.org/support/users/malferov/)
 * (@malferov)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/php-8-deprecated-code-4/)
 * When declaring a function or a method, adding a required parameter after optional
   parameters is deprecated since PHP 8.0.
 * > PHP Deprecated: Required parameter $url follows optional parameter $html_allowed
   > in /ml-slider/admin/lib/Updraft_Notices.php on line 104
 * Need to check the code in the declaration of functions and methods and their 
   calls.

Viewing 1 replies (of 1 total)

 *  [Kevin Batdorf](https://wordpress.org/support/users/kbat82/)
 * (@kbat82)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/php-8-deprecated-code-4/#post-14022259)
 * Hi,
 * Thanks. I’ll have that fixed in the next release.

Viewing 1 replies (of 1 total)

The topic ‘PHP 8 Deprecated code’ is closed to new replies.

 * ![](https://ps.w.org/ml-slider/assets/icon.svg?rev=3568997)
 * [Slider, Gallery, and Carousel by MetaSlider - Image Slider, Video Slider](https://wordpress.org/plugins/ml-slider/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ml-slider/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ml-slider/)
 * [Active Topics](https://wordpress.org/support/plugin/ml-slider/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ml-slider/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ml-slider/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Kevin Batdorf](https://wordpress.org/support/users/kbat82/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/php-8-deprecated-code-4/#post-14022259)
 * Status: resolved