Warning: session_start() Permission denied | WordPress.org

[ad_1]

Running EDD 3.0.4, I get several warnings a day in debug.log:

[06-Oct-2022 17:25:38 UTC] PHP Warning:  session_start(): open(/var/tmp/g/i/sess_givh..., O_RDWR) failed: Permission denied (13) in /mnt/.../htdocs/mbt/wp-content/plugins/easy-digital-downloads/includes/class-edd-session.php on line 423
[06-Oct-2022 17:25:38 UTC] PHP Warning:  session_start(): Failed to read session data: files (path: 2;/var/tmp) in /mnt/.../htdocs/mbt/wp-content/plugins/easy-digital-downloads/includes/class-edd-session.php on line 423

This is a shared server environment and there’s no way to set permissions on /var/tmp

Looks like EDD should set a different session folder.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer