Title: PHP errors
Last modified: October 23, 2017

---

# PHP errors

 *  Resolved [Howie](https://wordpress.org/support/users/dotlicious/)
 * (@dotlicious)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/php-errors-112/)
 * Receiving the following PHP file access errors:
 * `PHP Warning: session_start(): open(/var/lib/php/sessions/sess_[session identifier],
   O_RDWR) failed: Read-only file system (30) in [filepath]/wp-content/plugins/give/
   includes/class-give-session.php on line 405`
 * `Unknown: open(/var/lib/php/sessions/sess_[session identifier], O_RDWR) failed:
   Read-only file system (30) in Unknown on line 0`

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Contributor [Matt Cromwell](https://wordpress.org/support/users/webdevmattcrom/)
 * (@webdevmattcrom)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/php-errors-112/#post-9617034)
 * Hi [@dotlicious](https://wordpress.org/support/users/dotlicious/)
 * That error most likely is triggered by the way your server handles sessions. 
   Here’s a few things to try:
 * Sessions — WordPress default sessions sometimes don’t work well with certain 
   hosts. There’s two main ways to set your site to have more reliable sessions 
   with Give:
 * a. Set this in your wp-config.php file: `define( 'GIVE_USE_PHP_SESSIONS' , false);`
 * b. Try using this free plugin which switches your site to use native PHP Sessions
   instead: [https://wordpress.org/plugins/wp-native-php-sessions/](https://wordpress.org/plugins/wp-native-php-sessions/)
 * Note that you should not do BOTH of those methods, just one then test, then the
   other (if necessary) then test).
 * Let me know how that goes for you.
 *  Thread Starter [Howie](https://wordpress.org/support/users/dotlicious/)
 * (@dotlicious)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/php-errors-112/#post-9639909)
 * Option a. worked great. Many thanks.
 *  Plugin Contributor [Matt Cromwell](https://wordpress.org/support/users/webdevmattcrom/)
 * (@webdevmattcrom)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/php-errors-112/#post-9683594)
 * Great to hear [@dotlicious](https://wordpress.org/support/users/dotlicious/)
 * If you’re enjoying Give and appreciate our support, we’d love a kind review from
   you here:
    [https://wordpress.org/support/plugin/give/reviews/](https://wordpress.org/support/plugin/give/reviews/)
 * Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘PHP errors’ is closed to new replies.

 * ![](https://ps.w.org/give/assets/icon-256x256.jpg?rev=2873287)
 * [GiveWP - Donation Plugin and Fundraising Platform](https://wordpress.org/plugins/give/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/give/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/give/)
 * [Active Topics](https://wordpress.org/support/plugin/give/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/give/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/give/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Matt Cromwell](https://wordpress.org/support/users/webdevmattcrom/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/php-errors-112/#post-9683594)
 * Status: resolved