Title: Deprecated Code
Last modified: October 21, 2024

---

# Deprecated Code

 *  [pulstar21](https://wordpress.org/support/users/pulstar21/)
 * (@pulstar21)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/deprecated-code-36/)
 * **Deprecated**: Creation of dynamic property Kirki\Field\Repeater::$compiler 
   is deprecated in **/home/u689081133/domains/mydomain.xyz/public_html/wp-content/
   plugins/kirki/kirki-packages/compatibility/src/Field.php** on line **305**
 * **Deprecated**: Creation of dynamic property Kirki\Field\Repeater::$compiler 
   is deprecated in **/home/u689081133/domains/****mydomain.xyz**/public_html/wp-
   content/plugins/kirki/kirki-packages/compatibility/src/Field.php on line **305**
 * **Deprecated**: Creation of dynamic property Kirki\Field\Repeater::$compiler 
   is deprecated in **/home/u689081133/domains/****mydomain.xyz**/public_html/wp-
   content/plugins/kirki/kirki-packages/compatibility/src/Field.php on line **305**

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

 *  [alanarena](https://wordpress.org/support/users/alanarena/)
 * (@alanarena)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/deprecated-code-36/#post-18113710)
 * Hi [@pulstar21](https://wordpress.org/support/users/pulstar21/),
 * I had the same deprecated code issue with Kirki and managed to resolve it by 
   disabling certain configurations that are no longer supported. Here’s the solution
   that worked for me:
 *     ```wp-block-code
       /**
        * Kirki Config
        *
        * @param array $config is an array of Kirki configuration parameters.
        */
       function csco_kirki_config( $config ) {
   
           if ( isset( $config['compiler'] ) ) {
               unset( $config['compiler'] );
           }
   
           if ( isset( $config['disable_loader'] ) ) {
               unset( $config['disable_loader'] );
           }
   
           return $config;
       }
       add_filter( 'kirki/config', 'csco_kirki_config', 999 );
       ```
   
 * You can add this code to your theme’s `functions.php` file or, if you prefer,
   you can use the [Code Snippets](https://wordpress.org/plugins/code-snippets/)
   plugin to insert it. Code Snippets makes it easier to manage custom code without
   directly editing theme files.
 * Hope this helps!
 *  Thread Starter [pulstar21](https://wordpress.org/support/users/pulstar21/)
 * (@pulstar21)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/deprecated-code-36/#post-18114000)
 * I will test it. Thank you very much!
 *  [skoen](https://wordpress.org/support/users/skoen/)
 * (@skoen)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/deprecated-code-36/#post-18134995)
 * I actually contacted support for one of the themes using this as a framework 
   and was asked to downgrade PHP version.

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

The topic ‘Deprecated Code’ is closed to new replies.

 * ![](https://ps.w.org/kirki/assets/icon-256x256.jpg?rev=3518366)
 * [Kirki – Freeform Page Builder, Website Builder & Customizer](https://wordpress.org/plugins/kirki/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/kirki/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/kirki/)
 * [Active Topics](https://wordpress.org/support/plugin/kirki/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/kirki/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/kirki/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [skoen](https://wordpress.org/support/users/skoen/)
 * Last activity: [1 year, 6 months ago](https://wordpress.org/support/topic/deprecated-code-36/#post-18134995)
 * Status: not a support question