Title: Wired problem after deploying using Duplicator
Last modified: August 30, 2016

---

# Wired problem after deploying using Duplicator

 *  Resolved [msitman](https://wordpress.org/support/users/msitman/)
 * (@msitman)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/wired-problem-after-deploying-using-duplicator/)
 * Hi
    I bought a shared hosting space and installed WordPress and a Woocommerce
   theme on it (Using Duplicator plugin from an old site). There is a css folder
   that contains stylesheet files of the theme. I edit proper css file, save it,
   refresh the site and no change. Then i open the css and changes are back. Even
   if i delete the css file and hit reload, file re-apear after a moment!! Using
   ftp clients like FileZilla to download, edit and upload file didn’t help either.
   I’ve never faced this before and really need to edit appearance of the site editing
   stylesheets. Other files in other folders save correctly, It’s just this one 
   folder “css” which contains stylesheets. cPanel forums and says it’s not related
   to cPanel. hosting company says we haven’t done anything to be cause of this.
   I badly need to change look of my website by editing CSS files. Could it be related
   to Duplicator plugin? I appreciate any help.
 * [https://wordpress.org/plugins/duplicator/](https://wordpress.org/plugins/duplicator/)

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/wired-problem-after-deploying-using-duplicator/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/wired-problem-after-deploying-using-duplicator/page/2/?output_format=md)

 *  [wasanajones](https://wordpress.org/support/users/wasanajones/)
 * (@wasanajones)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/wired-problem-after-deploying-using-duplicator/#post-6783525)
 * cache?
 * browser, cloudflare etc, caching plugin?
 *  Thread Starter [msitman](https://wordpress.org/support/users/msitman/)
 * (@msitman)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/wired-problem-after-deploying-using-duplicator/#post-6783547)
 * Browser cache has been cleared.
    No, No caching plugin. Even disabled all plugins
   and tried. No luck !
 *  [wasanajones](https://wordpress.org/support/users/wasanajones/)
 * (@wasanajones)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/wired-problem-after-deploying-using-duplicator/#post-6783549)
 * I’m not an expert, but was curious about your problem.
 * if you disable the duplicator plugin and delete the css file(s) using FTP or 
   cPanel file manager, they are getting reinstalled? that is totally whack
 *  Thread Starter [msitman](https://wordpress.org/support/users/msitman/)
 * (@msitman)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/wired-problem-after-deploying-using-duplicator/#post-6783550)
 * Yes they come back again, That’s wired to me too.
    It’s been years I’ve been 
   working with WordPress, plugins and cPanel. Never ever had this. I’m stuck and
   this **must be solved** because i **need **to edit CSS
 *  [Cory Lamle](https://wordpress.org/support/users/corylamleorg/)
 * (@corylamleorg)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/wired-problem-after-deploying-using-duplicator/#post-6783617)
 * Hey Msitman,
 * That is strange. If you are removing the plugin and its still happening then 
   its definitely not the plugin. Even if you left the plugin installed there isn’t
   any logic in the plugin that would apply this behavior.
 * It maybe a few things:
    1. Do you have another backup plugin installed or any
   type of syncing software such as vault press running
 * 2. Are you out of disk-quota. Strange things can happen if you run out of disk
   to write to files.
 * 3. I would contact the host again, this should be something they can help you
   isolate.
 * Hope that helps!
 *  Thread Starter [msitman](https://wordpress.org/support/users/msitman/)
 * (@msitman)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/wired-problem-after-deploying-using-duplicator/#post-6783630)
 * HI Cory
    1. There’s no other backup plugin installed. 2. I’ve 1GB, and there’s
   more than 800MB still left unused. 3. As i said hosting company says we don’t
   have setting that makes this happen. Bad thing about disabling plugins every 
   time is after re-activating them, I’ve to set them all up again. But i even did
   this. You know, it’s just this CSS folder, other files/folders are OK to edit.
 *  [Cory Lamle](https://wordpress.org/support/users/corylamleorg/)
 * (@corylamleorg)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/wired-problem-after-deploying-using-duplicator/#post-6783635)
 * Did you try changing your theme to a completely new them and then check to see
   if the same thing is happening in the new theme? Sounds like a theme issue at
   this point…
 *  Thread Starter [msitman](https://wordpress.org/support/users/msitman/)
 * (@msitman)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/wired-problem-after-deploying-using-duplicator/#post-6783636)
 * Yes i did.
    I activated twentyfifteen (the default one), Then activated current
   theme. The same thing happened.
 *  [wasanajones](https://wordpress.org/support/users/wasanajones/)
 * (@wasanajones)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/wired-problem-after-deploying-using-duplicator/#post-6783637)
 * is simply deleting everything and starting over with a new WP installation out
   of the question? just ask’n because I have done that more than a couple times
   realizing that on a new site it just is easier than troubleshooting mysteries…
 *  Thread Starter [msitman](https://wordpress.org/support/users/msitman/)
 * (@msitman)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/wired-problem-after-deploying-using-duplicator/#post-6783638)
 * It’s reinstalling/setting up WordPress then Woocommerce then the Woocommerce 
   theme named Maxshop.
    Each has lot’s of features, That’s why i used Duplicator.
   besides website is having visitors already. I did all i said in above posts though.
   I’m selling HP products, from Mobile phones and Tablets to Servers and Equipment.
 *  [Cory Lamle](https://wordpress.org/support/users/corylamleorg/)
 * (@corylamleorg)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/wired-problem-after-deploying-using-duplicator/#post-6783644)
 * Until you are able to find the underlying issue, with what is causing the IO 
   operation to occur (which your host should be able to do with file monitoring
   tools on the OS).
 * Then you might try to [enqueue ](https://codex.wordpress.org/Function_Reference/wp_enqueue_style)
   your own style sheet from the functions.php and just add/overwrite the styles
   you want. Its not ideal but it could help fill the gap until a real analysis 
   can be done.
 *  Thread Starter [msitman](https://wordpress.org/support/users/msitman/)
 * (@msitman)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/wired-problem-after-deploying-using-duplicator/#post-6783646)
 * I FOUND IT!!
    I deleted css folder to see what happens in error_log, A file full
   of errors related to “less.php” in another folder has been made. The problem 
   is a can’t write a line of php code ! Here is the content of the less.php:
 *     ```
       <?php
       require_once locate_template('/lib/lessc.inc.php');
   
       if ( class_exists('lessc') && ya_options()->getCpanelValue('developer_mode') ){
       	define('LESS_PATH', get_template_directory().'/assets/less');
       	define('CSS__PATH', get_template_directory().'/css');
   
       	$scheme = ya_options()->getCpanelValue('scheme');
       	$ya_direction = ya_options()->getCpanelValue( 'direction' );
       	$scheme_vars = get_template_directory().'/templates/presets/default.php';
       	$output_cssf = CSS__PATH.'/app-default.css';
       	if ( $scheme && file_exists(get_template_directory().'/templates/presets/'.$scheme.'.php') ){
       		$scheme_vars = get_template_directory().'/templates/presets/'.$scheme.'.php';
       		$output_cssf = CSS__PATH."/app-{$scheme}.css";
       	}
       	if ( file_exists($scheme_vars) ){
       		include $scheme_vars;
       		try {
       			// less variables by theme_mod
       			// $less_variables['sidebar-width'] = ya_options()->sidebar_collapse_width.'px';
   
       			$less = new lessc();
   
       			$less->setImportDir( array(LESS_PATH.'/app/', LESS_PATH.'/bootstrap/') );
   
       			$less->setVariables($less_variables);
   
       			$cache = $less->cachedCompile(LESS_PATH.'/app.less');
       			file_put_contents($output_cssf, $cache["compiled"]);
       			/* RTL Language */
       			if ( is_rtl() || $ya_direction == 'rtl'  ){
       				$rtl_cache = $less->cachedCompile(LESS_PATH.'/app/rtl.less');
       				file_put_contents(CSS__PATH.'/rtl.css', $rtl_cache["compiled"]);
       			}
   
       			if ( ya_options()->getCpanelValue('responsive_support') ){
       				$responsive_cache = $less->cachedCompile(LESS_PATH.'/app-responsive.less');
       				file_put_contents(CSS__PATH.'/app-responsive.css', $responsive_cache["compiled"]);
       			}
       		} catch (Exception $e){
       			var_dump($e); exit;
       		}
       	}
       }
       ```
   
 * i commented everything out by “/**/” and now changes affect website.
    Would you
   please help me with these codes? i don’t understand but are many “cache” words.
   That shows there is something somewhere that makes css files replaced.
 *  [Cory Lamle](https://wordpress.org/support/users/corylamleorg/)
 * (@corylamleorg)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/wired-problem-after-deploying-using-duplicator/#post-6783668)
 * The method:
 * > `file_put_contents`
 * is what updates the file. You could probably comment out those lines and it would
   stop updating. However its best to contact the author of this file as they will
   know all the impacts of any changes…
 *  Thread Starter [msitman](https://wordpress.org/support/users/msitman/)
 * (@msitman)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/wired-problem-after-deploying-using-duplicator/#post-6783669)
 * I did and they said
 * > “You can try to turn off developer mode in admin.”
 * i just can’t find that option.
    Asked them and i’m waiting for their answer, 
   I hope that solves the issue!
 *  [Cory Lamle](https://wordpress.org/support/users/corylamleorg/)
 * (@corylamleorg)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/wired-problem-after-deploying-using-duplicator/#post-6783679)
 * Sounds good! I’ll go ahead and close out this thread since its not an issue with
   Duplicator.
 * Thanks

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/wired-problem-after-deploying-using-duplicator/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/wired-problem-after-deploying-using-duplicator/page/2/?output_format=md)

The topic ‘Wired problem after deploying using Duplicator’ 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/)

 * 17 replies
 * 3 participants
 * Last reply from: [Cory Lamle](https://wordpress.org/support/users/corylamleorg/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/wired-problem-after-deploying-using-duplicator/page/2/#post-6783686)
 * Status: resolved