Since upgrading to PHP 7.4.1, an error related to PEAR has been encountered even though the issue was listed as fixed. When attempting to install a package using pecl, a warning error is displayed with the following message:
Notice: Trying to access array offset on value of type bool in PEAR/REST.php on line 187
PHP Notice: Trying to access array offset on value of type bool in /usr/share/php/PEAR/REST.php on line 187
The repositories have been updated, but the problem remains unresolved.
The error you are encountering is a known issue with PEAR in PHP 7.4.1. It occurs when trying to access an array offset on a boolean value in the PEAR/REST.php file.
To resolve this issue, you can apply the following fix: