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
$model is undefined in /src/services/SalesTaxService.php on line 714
When running craft-avatax in a production context ('devMode' => false), we get an internal server error because the variable $model is undefined. Specifically speaking, the errors happens here when $model is used within the logging statement.
The source of the problem is that $model is only defined when devMode is enabled. See here.
Craft Version: 3.6.14
Craft Commerce Version: 3.2.14.1
Craft Avatax Version: 2.1.3
PHP Version: 8.0.2
$model is undefined in /src/services/SalesTaxService.php on line 714
When running
craft-avatax
in a production context ('devMode' => false
), we get an internal server error because the variable$model
is undefined. Specifically speaking, the errors happens here when$model
is used within the logging statement.The source of the problem is that
$model
is only defined when devMode is enabled. See here.The text was updated successfully, but these errors were encountered: