Warning: This page has not been updated in over over a year and may be outdated or deprecated.
This page lists commonly-encountered issues that sometimes have a less than obvious cause and/or solution. See the troubleshooting page for more general advice.
Fatal error: Uncaught Laminas\Session\Exception\InvalidArgumentException: ‘session.cookie_httponly’ is not a valid sessions-related ini setting
Laminas emits this error when it fails to change the PHP settings using ini_set(). Typically the real issue is that the headers have already been sent due a PHP deprecation notice or a startup issue. See the PHP error log for the actual error.
You can try setting PHP to not display errors in the HTML output by changing the following setting in the PHP ini file:
display_errors = Off
Or avoid displaying deprecation notices:
error_reporting = E_ALL & ~E_DEPRECATED
development/troubleshooting/common_issues.txt · Last modified: 2023/03/20 19:25 by demiankatz