We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We upgraded our Commerce and CMS versions this morning.
Now whenever we access the the commerce table on a user profile we get the following error log
2024-11-15 18:28:24 [web.INFO] [yii\db\Connection::open] Opening DB connection: pgsql:host=127.0.0.1;port=3307;dbname=somedb {"memory":820840} 2024-11-15 18:28:24 [web.INFO] [yii\web\Session::open] Session started {"memory":1585400} 2024-11-15 18:28:24 [web.INFO] [nystudio107\codeeditor\CodeEditor::bootstrap] CodeEditor module bootstrapped {"memory":1685824} 2024-11-15 18:28:24 [web.ERROR] [yii\base\ErrorException:2] yii\base\ErrorException: Undefined array key "defaultViewMode" in /app/vendor/craftcms/cms/src/helpers/Cp.php:1286 Stack trace: #0 /app/vendor/craftcms/cms/src/web/ErrorHandler.php(79): yii\base\ErrorHandler->handleError() #1 /app/vendor/craftcms/cms/src/helpers/Cp.php(1286): craft\web\ErrorHandler->handleError() #2 /app/vendor/craftcms/commerce/src/controllers/UsersController.php(68): craft\helpers\Cp::elementIndexHtml() #3 [internal function]: craft\commerce\controllers\UsersController->actionIndex() #4 /app/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array() #5 /app/vendor/yiisoft/yii2/base/Controller.php(178): yii\base\InlineAction->runWithParams() #6 /app/vendor/yiisoft/yii2/base/Module.php(552): yii\base\Controller->runAction() #7 /app/vendor/craftcms/cms/src/web/Application.php(350): yii\base\Module->runAction() #8 /app/vendor/yiisoft/yii2/web/Application.php(103): craft\web\Application->runAction() #9 /app/vendor/craftcms/cms/src/web/Application.php(318): yii\web\Application->handleRequest() #10 /app/vendor/yiisoft/yii2/base/Application.php(384): craft\web\Application->handleRequest() #11 /app/web/index.php(12): yii\base\Application->run() #12 {main} {"memory":3566800,"exception":"[object] (yii\\base\\ErrorException(code: 2): Undefined array key \"defaultViewMode\" at /app/vendor/craftcms/cms/src/helpers/Cp.php:1286)"}
Show me the standard Commerce section
The commerce section is blank
5.5.0.1
5.2.4
No response
The text was updated successfully, but these errors were encountered:
PT-2313 [5.x]:
Sorry, something went wrong.
defaultViewMode
Cp::elmentIndexHtml()
No branches or pull requests
What happened?
Description
We upgraded our Commerce and CMS versions this morning.
Now whenever we access the the commerce table on a user profile we get the following error log
Steps to reproduce
Expected behavior
Show me the standard Commerce section
Actual behavior
The commerce section is blank
Craft CMS version
5.5.0.1
Craft Commerce version
5.2.4
PHP version
No response
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
No response
The text was updated successfully, but these errors were encountered: