title: php (wordpress) - server not respond to file changes
body: <p>I'm facing weird problem which a bit complicated to understand. So the situation is that:</p>
  
  <ol>
  <li>we have 2 installs (actually more, but not relevant for now)</li>
  <li>both installs places on same server (apache + nginx)</li>
  <li>we update our code and therefore deploy to staging - first install works great, second one has problem.</li>
  <li>the code is 100% percent the same</li>
  <li>there is no influence of other plugin (wordpress) on the specific part of code</li>
  </ol>
  
  <p>The relevant code is the following:</p>
  
  <pre><code>$track  = new trackClass();
  $track-&gt;store_parameters();
  $parameters = unserialize($track-&gt;parameters);
  
  class trackClass // this class sits on different file
  {
  
      public $parameters;
  
      public function __construct() {
          ...
      }
  
      method...
  
      method...
  
      method ..
  
      public function store_parameters()
      {
          ...
      }
  
  }
  </code></pre>
  
  <p>Before we modify our code, the function <code>store_parameters</code> was private, now its public.</p>
  
  <p>So when on the second install the code is running its raise an error that the <code>store_paramters()</code> function is private and not accessible (remind you that it happens only on the second install).</p>
  
  <p>I tried another thing <code>get_class_methods($track)</code> and the response was all the methods except the <code>store_parameters()</code>. Again - weird.</p>
  
  <p>Next step, put <code>wp_die('test')</code> in the top of the file of the class. Refreshing the page and all as usual (the file is definitely loaded). If I try to access the admin (wp-admin) the changes make difference - the page is killed, blank screen and 'test' on it.</p>
  
  <p>Next step, remove this file completely from the server. Refreshing the page and nothing happen. Their is ajax request from the class file which run as usual, like the file is exists and everything is ok. Again, going to the admin page and the error is raised (<code>require_once ... not found</code>).</p>
  
  <p>Its doesn't seems like its code or development problem. The code is same. I'm afraid that its something on the server side / environment (apache, nginx) but unfortunately I've no access to the linux, I only can chat with the support of the hosting company. </p>
  
  <p>They are insists that is code problem. No matter the tests I wrote above. </p>
  
  <p>What can cause this kind of problem? I'm losing my mind here with no lead, its like the file is stuck somewhere.</p>