Author Topic: UpLoadPross Error Actually Error with PECL and PEAR After CWP Update  (Read 322 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Hello darlings!

After updating CWP, our server shows the following errors:


Fatal error: Array and string offset access syntax with curly braces is no longer supported in /usr/local/lib/php/PEAR/Config.php on line 2095

and

PHP Warning:  PHP Startup: uploadprogress: Unable to initialize module
Module compiled with module API=20190902
PHP    compiled with module API=20220829
These options need to match
 in Unknown on line 0

Apache PHP info:
PHP Warning:  PHP Startup: uploadprogress: Unable to initialize module
Module compiled with module API=20190902
PHP    compiled with module API=20220829
These options need to match
 in Unknown on line 0

We have already updated PHP and even reinstalled it via CWP but the error persists.

Some extensions like PHP's own UpLoadProgress are not working and are causing many errors on our sites that use this extension.

Our system information:
Kernel Version: 3.10.0-1160.119.1.el7.x86_64
CentOS 7 last version
CWP version: 0.9.8.1181

Thanks All!
Natasha - Hallbook Network
Hallbook Network

Offline
*
Re: UpLoadPross Error Actually Error with PECL and PEAR After CWP Update
« Reply #1 on: July 26, 2024, 12:53:50 AM »
Can anyone help us?
Hallbook Network

Offline
*****
Re: UpLoadPross Error Actually Error with PECL and PEAR After CWP Update
« Reply #2 on: July 26, 2024, 03:44:32 AM »
Which version of PHP?
Seems as though you need to update your PEAR config (remove curly braces for the function) around line 2095: /usr/local/lib/php/PEAR/Config.php

Offline
*
Re: UpLoadPross Error Actually Error with PECL and PEAR After CWP Update
« Reply #3 on: July 26, 2024, 03:45:53 PM »
Hi, @OverSee How R Uw

PHP 8.2
Where can we get the PECL Config.php file?
We tried reinstalling it but it didn't work, it gave an error or the package was not found.
We've already recompiled PHP, we've updated it and nothing works.
Thank you!
Hallbook Network