Unfortunately the provided error message seems to be incomplete because it doesn’t provide the application context from which is has been called. Due to the fact that the /proc directory is mentioned, it might be possible that the system information app tries to collect data but is prohibited to do so.
As usual aunt G. knows how you need to configure your server/php environment to prevent such an error message:
As usual it is your decision if you want to need that system information function within Nextcloud or not. Security question cannot be answered in general. It always depends on your environment, use case and requirements.
You’re referencing to a Nextcloud 15 guide. It might be possible that things have been changed in the meantime. Additionally the installed and activated apps might play a role in that game too Are you sure that the message is caused by the Nextcloud base installation?