• I upgraded my site to PHP 7.2 and got the following error from this plugin:

    [17-Aug-2018 13:35:44 UTC] PHP Warning: session_write_close() expects exactly 0 parameters, 1 given in /srv/bindings/d8257845fcbe4fccadd83b27d35a6105/code/wp-includes/class-wp-hook.php on line 286
    [17-Aug-2018 13:35:48 UTC] PHP Fatal error: Cannot unset $this in /srv/bindings/d8257845fcbe4fccadd83b27d35a6105/code/wp-content/plugins/order-audit-log-for-woocommerce/include/ic_commerce_audit_log_lite_function.php on line 538

    This caused the entire site to throw an HTTP 500 error and be completely unavailable.

    As soon as I downgraded to PHP 7.0 the problem went away.

  • The topic ‘Upgrading to PHP 7.2 causes plugin to take down site’ is closed to new replies.