Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4.3.1]: Address editing for completed orders broken #3310

Closed
bossanova808 opened this issue Oct 23, 2023 · 2 comments
Closed

[4.3.1]: Address editing for completed orders broken #3310

bossanova808 opened this issue Oct 23, 2023 · 2 comments
Labels
bug commerce4 Issues related to Commerce v4

Comments

@bossanova808
Copy link
Contributor

What happened?

Description

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": "->"
		}
	]
}

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

@bossanova808
Copy link
Contributor Author

Ah might be a general Craft thing - craftcms/cms#13867

@brandonkelly
Copy link
Member

Craft 4.5.9 is out with a fix for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug commerce4 Issues related to Commerce v4
Projects
None yet
Development

No branches or pull requests

2 participants