You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deploy using quick strategy
Error happened during deploy process: SQLSTATE[HY000] [2002] Connection refused
Execution time: 0.022507190704346
In Abstract.php line 148:
SQLSTATE[HY000] [2002] Connection refused
In Abstract.php line 128:
SQLSTATE[HY000] [2002] Connection refused
Deploy using quick strategy
Error happened during deploy process: SQLSTATE[HY000] [2002] Connection refused
Execution time: 0.01332688331604
In Abstract.php line 148:
SQLSTATE[HY000] [2002] Connection refused
In Abstract.php line 128:
SQLSTATE[HY000] [2002] Connection refused
11% < 1 sec 119.0 MiBPHP Fatal error: Declaration of Meta\BusinessExtension\Logger\Handler::write(array $record): void must be compatible with Magento\Framework\Logger\Handler\Base::write(Monolog\LogRecord $record): void in /var/www/html/magento2/vendor/meta/module-business-extension/Logger/Handler.php on line 66
Expected result (*)
[Screenshots, logs or description]
Actual result (*)
The text was updated successfully, but these errors were encountered:
You have two issues here. The first is that during deployment, your MYSQL db is encountering an issue -- may just need to run one more time. We have seen this happen in the past; sometimes patch updates to DB schema take longer than the duration of a deployment.
However, the second issue (logging the error itself) is being caused by an update in Magento 2.4.8's monolog base library. We'll push a fix for this, but if you're trying to get unblocked in the interim, simply remove the "array" parameter typehint from this line
You have two issues here. The first is that during deployment, your MYSQL db is encountering an issue -- may just need to run one more time. We have seen this happen in the past; sometimes patch updates to DB schema take longer than the duration of a deployment.
However, the second issue (logging the error itself) is being caused by an update in Magento 2.4.8's monolog base library. We'll push a fix for this, but if you're trying to get unblocked in the interim, simply remove the "array" parameter typehint from this line
Preconditions (*)
Meta-for -magento21.3.4 , ubuntu 24.04
Magento Release 2.4.8-beta1
1.
2.
Steps to reproduce (*)
php bin/magento setup:static-content:deploy -f
Deploy using quick strategy
Error happened during deploy process: SQLSTATE[HY000] [2002] Connection refused
Execution time: 0.022507190704346
In Abstract.php line 148:
SQLSTATE[HY000] [2002] Connection refused
In Abstract.php line 128:
SQLSTATE[HY000] [2002] Connection refused
Deploy using quick strategy
Error happened during deploy process: SQLSTATE[HY000] [2002] Connection refused
Execution time: 0.01332688331604
In Abstract.php line 148:
SQLSTATE[HY000] [2002] Connection refused
In Abstract.php line 128:
SQLSTATE[HY000] [2002] Connection refused
11% < 1 sec 119.0 MiBPHP Fatal error: Declaration of Meta\BusinessExtension\Logger\Handler::write(array $record): void must be compatible with Magento\Framework\Logger\Handler\Base::write(Monolog\LogRecord $record): void in /var/www/html/magento2/vendor/meta/module-business-extension/Logger/Handler.php on line 66
Expected result (*)
Actual result (*)
The text was updated successfully, but these errors were encountered: