Symptoms
Running /scripts/clean_user_php_sessions fails with a 'Namespace' error on cPanel versions newer than 11.132.0.15.
Cause
Running /scripts/clean_user_php_sessions may fail with the following error:
[root@server ~]
/scripts/clean_user_php_sessions
Namespace must start with a letter, be at least two characters long, and only contain ascii a-z0-9
We've opened an internal case for our development team to investigate this further. For reference, the case number is CPANEL-50838. Follow this article to receive an email notification when a solution is published in the product.
Resolution
Sessions can be manually cleaned if needed.