-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updating 1.5.3 -> 1.6.1 results in Class "PEAR" not found error #9037
Comments
Strange. PEAR class is provided by pear-core-minimal package, that you have installed. Your composer.json file does not look like file from 1.6. ps. I just released 1.6.2. |
@alecpl I was able to work around this by doing a fresh install of roundcube. Not sure what was causing this issue. Maybe something with the opcache, I had a similar problem with the nextcloud onlyoffice plugin recently (ONLYOFFICE/onlyoffice-nextcloud#830). |
At least we took the roundcube-x.x.x-complete-package. |
I have the same error. I am trying to upgrade from 1.6.1 to 1.6.2. ./bin/installto.sh /opt/www/roundcubemail PHP Fatal error: Uncaught Error: Class 'PEAR' not found in /opt/www/roundcubemail-1.6.2/program/lib/Roundcube/bootstrap.php:103 |
Are you using the "complete" package? It won't work with the package that does not include dependencies (/vendor folder). |
sorry I downloaded the "complete" package and updated through it. Everything is OK. thank you |
@alecpl Why should the "dependent" package and installing requirements using composer and |
"dependent" package does not include any dependencies, but these scripts require at least PEAR. That's nothing new. These scripts do not have a lot of dependencies, so maybe they could be made independent in future. It might be not that hard to do, but I don't plan to work on this. |
@alecpl What I don't quite understand: Shouldn't the PEAR dependency be satisfied after |
bin/installto.sh and bin/install-jsdeps.sh were mentioned here, but it will be the same for all scripts that include bootstrap.php file. The script will work when you run them in a working Roundcube root directory, but they will not if you run them in a directory that contains only the extracted Roundcube "dependent" package. Dependencies are supposed to be in /vendor folder. |
So it should work just fine after |
It should. |
Fixed. |
Great, thanks! |
I have recently tried to upgrade my roundcube instance from 1.5.3 to 1.6.1. Unfortunately, now a fatal
Class "PEAR" not found
error gets thrown and roundcube returns a blank page. Is is thrown inprogram/lib/Roundcube/bootstrap.php:103
.I have removed
vendor
and reinstalled the composer dependencies to make sure nothing is wrong with them.composer update --no-dev
output:composer.json
:PHP-Version: 8.2
I will gladly provide more debug information as required.
The text was updated successfully, but these errors were encountered: