You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Notice: session_start(): Redis connection not available in /srv/http/moosh/moosh.php on line 297
Warning: session_start(): Session cookie cannot be sent after headers have already been sent (output started at /srv/http/moosh/moosh.php:297) in /srv/http/moosh/moosh.php on line 297
Warning: session_start(): Redis connection not available in /srv/http/moosh/moosh.php on line 297
Warning: session_start(): Failed to read session data: redis (path: tcp://192.168.1.100:?auth=) in /srv/http/moosh/moosh.php on line 297
Warning: session_regenerate_id(): Session ID cannot be regenerated when there is no active session in /srv/http/moodle/lib/classes/session/manager.php on line 621
id name idnumber description parent visible
Deprecated: str_pad(): Passing null to parameter #1 ($string) of type string is deprecated in /srv/http/moosh/Moosh/Command/Moodle39/Category/CategoryList.php on line 81
Deprecated: str_pad(): Passing null to parameter #1 ($string) of type string is deprecated in /srv/http/moosh/Moosh/Command/Moodle39/Category/CategoryList.php on line 81
1 Category 1 Top 1
`
Expected behaviour
[http@tower moodle]$ moosh category-list 2>&1
1 Category 1 Top 1
The errors should be redirected.
Note: they are redirected for some commands. eg.: http@tower moodle]$ moosh --list-commands PHP Warning: Invalid "upload_max_filesize" setting. Invalid quantity "20M post_max_sizeM", interpreting as "20M" for backwards compatibility in Unknown on line 0 activity-add activity-config-set activity-delete activity-move admin-login admin-remove-orphaned-modules
moosh --list-commands >/dev/null will not show the PHP error
Steps to reproduce
Put a config error in php.ini.
Then
$ moosh category-list 2>/dev/null
The text was updated successfully, but these errors were encountered:
Actual behaviour
`[http@tower moodle]$ moosh category-list 2>/dev/null
Notice: session_start(): Redis connection not available in /srv/http/moosh/moosh.php on line 297
Warning: session_start(): Session cookie cannot be sent after headers have already been sent (output started at /srv/http/moosh/moosh.php:297) in /srv/http/moosh/moosh.php on line 297
Warning: session_start(): Redis connection not available in /srv/http/moosh/moosh.php on line 297
Warning: session_start(): Failed to read session data: redis (path: tcp://192.168.1.100:?auth=) in /srv/http/moosh/moosh.php on line 297
Warning: session_regenerate_id(): Session ID cannot be regenerated when there is no active session in /srv/http/moodle/lib/classes/session/manager.php on line 621
id name idnumber description parent visible
Deprecated: str_pad(): Passing null to parameter #1 ($string) of type string is deprecated in /srv/http/moosh/Moosh/Command/Moodle39/Category/CategoryList.php on line 81
Deprecated: str_pad(): Passing null to parameter #1 ($string) of type string is deprecated in /srv/http/moosh/Moosh/Command/Moodle39/Category/CategoryList.php on line 81
1 Category 1 Top 1
`
Expected behaviour
The errors should be redirected.
Note: they are redirected for some commands. eg.:
http@tower moodle]$ moosh --list-commands PHP Warning: Invalid "upload_max_filesize" setting. Invalid quantity "20M post_max_sizeM", interpreting as "20M" for backwards compatibility in Unknown on line 0 activity-add activity-config-set activity-delete activity-move admin-login admin-remove-orphaned-modules
moosh --list-commands >/dev/null will not show the PHP error
Steps to reproduce
Put a config error in php.ini.
Then
$ moosh category-list 2>/dev/null
The text was updated successfully, but these errors were encountered: