PHP 7.4 Error in CyberPanel

After compiling and successfully upgrading to PHP 7.4 in OLS, there is this following error in CyberPanel’s dashboard:

Error message: local variable ‘post_max_size’ referenced before assignment

What else do we need to do to get rid of this error so that we can configure PHP 7.4 within CyberPanel?

Screenshots for your reference:

I have this issue too, but for php 8.0

When you select PHP 7.4

Error Viewable from after refreshng…

Also gives the following error when [BASIC] tab is selected

cat: /usr/local/lsws/lsphp74/etc/php/7.4/litespeed/php.ini
Error message: local variable ‘post_max_size’ referenced before assignment

Note does not change to PHP 7.4 although there is a ‘Successfully changed’ message.
Can also verify that it uses previous version of php by running <?php phpinfo(); ?>

Left Main Menu Server > PHP > Edit PHP Configs appears to change to 7.4 but and you get a successfully changed message but really does not change to 7.4. Can be verified by executing a page with <?php phpinfo(); ?>

Same problem I want to upgrade to PHP 8, but I get an error, how to fix it ???
Error message:local variable ‘post_max_size’ referenced before assignment