PHP 8.4 compatibility
Hello,
Error while complying with PHP 8.4 (Magento 2.4.8):
Deprecated Functionality: WebShopApps\MatrixRate\Model\Config\Backend\Matrixrate::__construct(): Implicitly marking parameter $resource as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/magento2/vendor/webshopapps/module-matrixrate/src/Model/Config/Backend/Matrixrate.php on line 60
Questions marks ? needs to be added to the beginning of the following lines:
\Magento\Framework\Model\ResourceModel\AbstractResource $resource = null,
\Magento\Framework\Data\Collection\AbstractDb $resourceCollection = null,
Otherwise it looks good.
Hello,
After reviewing the issue, I can confirm that our engineering team is aware of the error. There is an active engineering ticket in the queue to address it. While I don’t have an exact ETA for the resolution at this time, I can assure you that the issue is being actively worked on.
Best, Joel
This was resolved in the latest release, thanks for reporting!