Title: PHP 7.2 error
Last modified: November 26, 2018

---

# PHP 7.2 error

 *  Resolved [BeeCee](https://wordpress.org/support/users/csigncsign/)
 * (@csigncsign)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/php-7-2-error-6/)
 * Hi,
 * I use the latest Ninja Firewall with PHP 7.1. All is okay.
 * Then I update from PHP 7.1 to 7.2 and now I get this error in backend:
 * `NinjaFirewall error : ......./wp-content/nfwlog/ directory is read-only. Please
   review your installation and ensure that /nfwlog/ is writable.`
 * I checked my FTP and this directory and its subdirectories are in fact writable.
   
   When I switch back to PHP 7.1, all is fine again.
 * Isn’t Ninja Firewall compatible with PHP 7.2?

Viewing 1 replies (of 1 total)

 *  Plugin Author [nintechnet](https://wordpress.org/support/users/nintechnet/)
 * (@nintechnet)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/php-7-2-error-6/#post-10918438)
 * Hi
 * It is compatible with PHP 7.2 and even 7.3-RC.
    It uses the PHP [is_writable()](http://php.net/manual/en/function.is-writable.php)
   function to check if the directory is writable. If it is not a permission issue,
   it could be a ownership problem, or maybe a PHP caching issue which could affect`
   is_writable()` (see [http://php.net/manual/en/function.clearstatcache.php](http://php.net/manual/en/function.clearstatcache.php)).

Viewing 1 replies (of 1 total)

The topic ‘PHP 7.2 error’ is closed to new replies.

 * ![](https://ps.w.org/ninjafirewall/assets/icon-256x256.png?rev=976137)
 * [NinjaFirewall (WP Edition) - Advanced Security Plugin and Firewall](https://wordpress.org/plugins/ninjafirewall/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ninjafirewall/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ninjafirewall/)
 * [Active Topics](https://wordpress.org/support/plugin/ninjafirewall/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ninjafirewall/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ninjafirewall/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [nintechnet](https://wordpress.org/support/users/nintechnet/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/php-7-2-error-6/#post-10918438)
 * Status: resolved