Title: error Deprecated
Last modified: March 10, 2023

---

# error Deprecated

 *  Resolved [yassine1995](https://wordpress.org/support/users/yassine1995/)
 * (@yassine1995)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/error-deprecated-4/)
 * hello i have this problem in php 8.2
 * **Deprecated**: Creation of dynamic property DUPX_ArchiveConfig::$dup_type is
   deprecated in **D:\xampp\htdocs\fmps\dup-installer\classes\config\class.archive.
   config.php** on line **118**
 *     ```wp-block-code
       protected function __construct()
   
           {
   
               $config_filepath = DUPX_Package::getPackageArchivePath();
   
               if (!file_exists($config_filepath)) {
   
                   throw new Exception("Archive file $config_filepath doesn't exist");
   
               }
   
               if (($file_contents = file_get_contents($config_filepath)) === false) {
   
                   throw new Exception("Can\'t read Archive file $config_filepath");
   
               }
   
               if (($data = json_decode($file_contents)) === null) {
   
                   throw new Exception("Can\'t decode archive json");
   
               }
   
               foreach ($data as $key => $value) {
   
         line 118 --->          $this->{$key} = $value;
   
               }
   
               //Instance Updates:
   
               $this->blogNameSafe = preg_replace("/[^A-Za-z0-9?!]/", '', $this->blogname);
   
           }
       ```
   

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

 *  Plugin Support [mohammedeisa](https://wordpress.org/support/users/mohammedeisa/)
 * (@mohammedeisa)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/error-deprecated-4/#post-16549522)
 * Hi [@yassine1995](https://wordpress.org/support/users/yassine1995/) ,
 * We are aware of this issue and working on it.
 * To fix this issue, please downgrade PHP to version 7.4.
 *  Plugin Support [mohammedeisa](https://wordpress.org/support/users/mohammedeisa/)
 * (@mohammedeisa)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/error-deprecated-4/#post-16582600)
 * Hi @yassine1995 ,
 * This issue has been fixed in the latest Duplicator version.
 * Please update Duplicator to the latest version to fix your issue.
 * Thanks!
 *  Thread Starter [yassine1995](https://wordpress.org/support/users/yassine1995/)
 * (@yassine1995)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/error-deprecated-4/#post-16583630)
 * thanks i will check

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

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

 * ![](https://ps.w.org/duplicator/assets/icon-256x256.png?rev=2906985)
 * [Duplicator - Backups & Migration Plugin - Cloud Backups, Scheduled Backups, & More](https://wordpress.org/plugins/duplicator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/duplicator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/duplicator/)
 * [Active Topics](https://wordpress.org/support/plugin/duplicator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/duplicator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/duplicator/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [yassine1995](https://wordpress.org/support/users/yassine1995/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/error-deprecated-4/#post-16583630)
 * Status: resolved