Closed bossanova808 closed 10 months ago
We're seeing a 500 error trying to edit any address in the orders control panel
{ "name": "Exception", "message": "craft\\web\\View::namespaceInputs(): Argument #1 ($html) must be of type callable|string, null given, called in /home/forge/imagescience.com.au/releases/dev/vendor/craftcms/cms/src/web/View.php on line 1669", "code": 0, "error": "craft\\web\\View::namespaceInputs(): Argument #1 ($html) must be of type callable|string, null given, called in /home/forge/imagescience.com.au/releases/dev/vendor/craftcms/cms/src/web/View.php on line 1669", "exception": "TypeError", "file": "/home/forge/imagescience.com.au/releases/dev/vendor/craftcms/cms/src/web/View.php", "line": 1657, "trace": [ { "file": "/home/forge/imagescience.com.au/releases/dev/vendor/craftcms/cms/src/web/View.php", "line": 1669, "function": "namespaceInputs", "class": "craft\\web\\View", "type": "->" }, { "file": "/home/forge/imagescience.com.au/releases/dev/vendor/craftcms/cms/src/web/CpScreenResponseFormatter.php", "line": 70, "function": "namespaceInputs", "class": "craft\\web\\View", "type": "->" }, { "file": "/home/forge/imagescience.com.au/releases/dev/vendor/craftcms/cms/src/web/CpScreenResponseFormatter.php", "line": 47, "function": "_formatJson", "class": "craft\\web\\CpScreenResponseFormatter", "type": "->" }, { "file": "/home/forge/imagescience.com.au/releases/dev/vendor/yiisoft/yii2/web/Response.php", "line": 1100, "function": "format", "class": "craft\\web\\CpScreenResponseFormatter", "type": "->" }, { "file": "/home/forge/imagescience.com.au/releases/dev/vendor/craftcms/cms/src/web/Response.php", "line": 337, "function": "prepare", "class": "yii\\web\\Response", "type": "->" }, { "file": "/home/forge/imagescience.com.au/releases/dev/vendor/yiisoft/yii2/web/Response.php", "line": 340, "function": "prepare", "class": "craft\\web\\Response", "type": "->" }, { "file": "/home/forge/imagescience.com.au/releases/dev/vendor/yiisoft/yii2/base/Application.php", "line": 390, "function": "send", "class": "yii\\web\\Response", "type": "->" }, { "file": "/home/forge/imagescience.com.au/releases/dev/web/index.php", "line": 12, "function": "run", "class": "yii\\base\\Application", "type": "->" } ] }
4.5.8
4.3.1
8.2
No response
-
Ah might be a general Craft thing - https://github.com/craftcms/cms/issues/13867
Craft 4.5.9 is out with a fix for this.
What happened?
Description
We're seeing a 500 error trying to edit any address in the orders control panel
Craft CMS version
4.5.8
Craft Commerce version
4.3.1
PHP version
8.2
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
-