The error code is as follows:
Do not run Composer as root/super user! See https://getcomposer.org/root for details
`Continue as root/super user [yes]? y
Please answer yes, y, no, or n.
Continue as root/super user [yes]? y
Cannot use fof/sitemap's latest version 2.0.1 as it requires php 8.* which is not satisfied by your platform.
./composer.json has been updated
Running composer update fof/sitemap
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires ziiven/flarum-pay-to-see, it could not be found in any version, there may be a typo in the package name.
Potential causes:
Read https://getcomposer.org/doc/articles/troubleshooting.md for further common problems.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require fof/sitemap:*" to figure out if any version is installable, or "composer require fof/sitemap:2.1" if you know which you need.
Installation failed, reverting ./composer.json to its original content.`
The code executed by the installed plug-in is as follows:
composer require fof/sitemap
This is how all plug-ins are installed