title: Fatal error: [snuffleupagus][disabled_function] Aborted execution on call of the function 'chmod' and 'include'
body: <p>I have my application based on CakePHP 2.10.24.</p>
  <p>When I used PHP 7.3 all works well but when I use PHP 7.4 several errors happend:</p>
  <p>I should noticed that on WAMP all works fine but not on webserver on CPanel.</p>
  <p>I add some codes to trace easier.</p>
  <p>Thanks</p>
  <pre><code>Array
  (
      [0] =&gt; /php74/lib/Cake/Cache/Engine/FileEngine.php, getStackTrace at line 369
      [1] =&gt; /php74/lib/Cake/Cache/Engine/FileEngine.php, _setKey at line 116
      [2] =&gt; /php74/lib/Cake/Cache/Cache.php, write at line 317
      [3] =&gt; /php74/app/Plugin/DebugKit/Controller/Component/ToolbarComponent.php, write at line 503
      [4] =&gt; /php74/app/Plugin/DebugKit/Controller/Component/ToolbarComponent.php, _saveState at line 333
      [5] =&gt; /php74/lib/Cake/Utility/ObjectCollection.php, beforeRender at line 129
      [6] =&gt; /php74/lib/Cake/Event/CakeEventManager.php, trigger at line 244
      [7] =&gt; /php74/lib/Cake/Controller/Controller.php, dispatch at line 949
      [8] =&gt; /php74/lib/Cake/Routing/Dispatcher.php, render at line 200
      [9] =&gt; /php74/lib/Cake/Routing/Dispatcher.php, _invoke at line 167
      [10] =&gt; /php74/app/webroot/index.php, dispatch at line 108
  )
  
  /php74/app/tmp/cache/cake_toolbar_cache0492a2202935e74850f2aed479dc3a99
  
  Fatal error: [snuffleupagus][disabled_function] Aborted execution on call of the function 'chmod', because its argument '$mode' content (436) matched a rule in /php74/lib/Cake/Cache/Engine/FileEngine.php on line 372
  
  
  Array
  (
      [0] =&gt; /php74/lib/Cake/View/View.php, getStackTrace at line 972
      [1] =&gt; /php74/lib/Cake/View/View.php, _evaluate at line 933
      [2] =&gt; /php74/lib/Cake/View/View.php, _render at line 546
      [3] =&gt; /php74/lib/Cake/View/View.php, renderLayout at line 481
      [4] =&gt; /php74/lib/Cake/Controller/Controller.php, render at line 976
      [5] =&gt; /php74/lib/Cake/Error/ExceptionRenderer.php, render at line 292
      [6] =&gt; /php74/lib/Cake/Error/ExceptionRenderer.php, _outputMessage at line 213
      [7] =&gt; /php74/lib/Cake/Error/ExceptionRenderer.php, _cakeError at line 190
      [8] =&gt; /php74/lib/Cake/Error/ErrorHandler.php, render at line 127
      [9] =&gt; /php74/lib/Cake/Error/ErrorHandler.php, handleException at line 269
      [10] =&gt; /php74/lib/Cake/Error/ErrorHandler.php, handleFatalError at line 212
      [11] =&gt; /php74/lib/Cake/Core/App.php, handleError at line 986
      [12] =&gt; /php74/lib/Cake/Core/App.php, _checkFatalError at line 959
      [13] =&gt; ?, shutdown at line ?
  )
  
  
  /php74/app/View/Layouts/default.ctp
  
  
  Fatal error: [snuffleupagus][disabled_function] Aborted execution on call of the function 'include' in /php74/lib/Cake/View/View.php on line 974
  </code></pre>