• When moving from PHP 8.2 to PHP 8.3 via cPanel, the following Warning occurs in Query Monitor plugin:

    Warning session_start(): open(/opt/alt/php83/var/lib/php/session/sess_3bd7657f1df2daa2d876e28fe7508e35, O_RDWR) failed: No such file or directory (2)
    wp-content/plugins/participants-database/classes/PDb_Session.php:270
    1 Plugin: participants-database

    Warning session_start(): Failed to read session data: files (path: /opt/alt/php83/var/lib/php/session)
    wp-content/plugins/participants-database/classes/PDb_Session.php:270
    1 Plugin: participants-database

    —————-

    cPanel PHP option for both 8.2 and 8.3 “session.save_path” is “/tmp”
    Plenty of session files can be seen in /tmp

    Warning goes away when reverting to PHP 8.2

Viewing 1 replies (of 1 total)
  • Plugin Author xnau webdesign

    (@xnau)

    You can see from the message that the session path is incorrect, which is a configuration issue with php 8.3. This isn’t the plugin’s fault, it does not determine that path.

    These are warnings, not errors, which means that things can go on working, but it’s trying to tell you something isn’t right.

    I can’t advise you on how to specifically address this issue, but php configurations have both global and local values. Local configuration values will override the global, so you have “/tmp” as your session save path as a global configuration value, but the script is attempting to write to “/opt/alt/php83/var/lib/php/session” which means that this is the local configuration value for the script.

    You may need to talk to your hosting provider about how this can be fixed.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.