Jump to content

PHP error when upgrading 4.7.16 -> 4.7.17


Go to solution Solved by sulervo,

Recommended Posts

Posted (edited)

Hi,

how to fix this?

4.7.16 -> 4.7.17

PHP 8.1 in use.

"We were unable to start a PHP session. You will need to contact your host to adjust your PHP configuration before you can continue. The error reported was: Return type of IPS\_DateTime::format($format, $memberOrLanguage = null) should either be compatible with DateTime::format(string $format): string, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice"


Could contain: File, Webpage, Page, Text

Could contain: Page, Text, File

Edited by sulervo
Link to comment
Share on other sites

Last time, in the same situation, it helped when PHP 8.0 is selected. Now it gives just error message.

"We were unable to start a PHP session. You will need to contact your host to adjust your PHP configuration before you can continue. The error reported was: session_start(): Failed to read session data: files (path: /var/cpanel/php/sessions/alt-php80)"

Could contain: Text

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...