The issue
I'm trying to update Flarum and the Extensions I have installed (one by one) to the most recent version, however I get the following error regardless of the update I do 🙁
This is the error (in full) from the storage/log file is as follows:
Fatal error: Uncaught TypeError: Return value of Symfony\Component\Process\Process::close() must be of the type int, null returned in phar:///opt/cpanel/composer/bin/composer/vendor/symfony/process/Process.php:1466
Stack trace:
#0 phar:///opt/cpanel/composer/bin/composer/vendor/symfony/process/Process.php(1355): Symfony\Component\Process\Process->close()
#1 phar:///opt/cpanel/composer/bin/composer/vendor/symfony/process/Process.php(367): Symfony\Component\Process\Process->updateStatus(false)
#2 phar:///opt/cpanel/composer/bin/composer/vendor/symfony/process/Process.php(252): Symfony\Component\Process\Process->start(Object(Closure), Array)
#3 phar:///opt/cpanel/composer/bin/composer/src/Composer/Util/ProcessExecutor.php(134): Symfony\Component\Process\Process->run(Object(Closure))
#4 phar:///opt/cpanel/composer/bin/composer/src/Composer/Util/ProcessExecutor.php(76): Composer\Util\ProcessExecutor->doExecute(Array, '/home/scfc2co/p...', false, NULL)
#5 phar:///opt/cpanel/composer/bin/composer/src/Composer/Package/Version/Ver in phar:///opt/cpanel/composer/bin/composer/vendor/symfony/process/Process.php on line 1466
My Composer version is Composer version 2.5.8
Flarum information
Flarum core: 1.8.0
PHP version: 7.4.33
MySQL version: 10.3.39-MariaDB-log-cll-lve
Loaded extensions: Core, date, libxml, openssl, pcre, sqlite3, zlib, bz2, calendar, ctype, curl, hash, filter, ftp, gettext, gmp, SPL, iconv, pcntl, readline, Reflection, session, standard, shmop, SimpleXML, mbstring, tokenizer, xml, i360, bcmath, dom, fileinfo, gd, igbinary, imagick, imap, intl, json, exif, mysqli, mysqlnd, PDO, pdo_mysql, pdo_sqlite, Phar, posix, redis, sockets, timezonedb, xmlreader, xmlrpc, xmlwriter, xsl, zip
+------------------------------+---------+--------+
| Flarum Extensions | | |
+------------------------------+---------+--------+
| ID | Version | Commit |
+------------------------------+---------+--------+
| flarum-tags | v1.8.0 | |
| flarum-flags | v1.8.0 | |
| flarum-suspend | v1.8.0 | |
| v17development-seo | v1.8.0 | |
| justoverclock-purify | 0.1.7 | |
| fof-upload | 1.2.3 | |
| fof-split | 1.1.0 | |
| fof-sitemap | 1.0.3 | |
| fof-share-social | 1.1.2 | |
| fof-merge-discussions | 1.3.1 | |
| fof-links | 1.1.4 | |
| fof-formatting | 1.0.3 | |
| fof-byobu | 1.2.0 | |
| fof-analytics | 1.1.0 | |
| flarum-subscriptions | v1.8.0 | |
| flarum-sticky | v1.8.0 | |
| flarum-statistics | v1.8.0 | |
| flarum-mentions | v1.8.0 | |
| flarum-markdown | v1.8.0 | |
| flarum-lock | v1.8.0 | |
| flarum-likes | v1.8.0 | |
| flarum-lang-english | v1.8.0 | |
| flarum-emoji | v1.8.0 | |
| flarum-bbcode | v1.8.0 | |
| davwheat-ads | 1.2.0 | |
| clarkwinkelmann-emojionearea | 1.0.0 | |
+------------------------------+---------+--------+
Base URL: https://**domain_name**/forum
Installation path: /home/**account_name**/public_html/forum
Queue driver: sync
Session driver: file
Scheduler status: Active
Mail driver: smtp
Debug mode: off
Can anyone help please?