HI All,
I have just installed the latest commerce beta 2 alongwith on latest drupal 8.2 release.

Below is my store configuration.

1. Store type: default
2. No of store: 1
3. Product variation: default
4. Product type: default
5. added 2 attributes: size and color to default variation type

Now when I create a new product as admin, I am getting The website encountered an unexpected error. Please try again later.
Error.

Please note that when I do not use any of attribute in product variation my i can add the product successfully.

Please advice

CommentFileSizeAuthor
#4 Screenshot from 2017-03-01 15-10-37.png38.22 KBStrompf

Comments

ashuaviator1987 created an issue. See original summary.

bojanz’s picture

Enable error display on admin/config/development/logging and then retry, tell us which error you're getting.

ashuaviator1987’s picture

Status: Active » Closed (duplicate)

It was color field problem , I applied the patch at https://www.drupal.org/node/2623730 and it worked
Closing the bug

Strompf’s picture

StatusFileSize
new38.22 KB

I had the same error (different cause). This page quite helped me in fixing it, so in case more people end up here:

After enabling error display, as mentioned above, I got the attached message: Appearantly, module php-bcmath was missing.

This Ubuntu webserver was only three months old. When I originally installed it, I choosed PHP 7.1. When this proved difficult, I switched back to PHP 7.0. At least, I thought I did. Along the way I installed the php-bcmath library through sudo apt-get install bc-math. Turned out that this installed the PHP 7.1-version. After installing the PHP 7.0-version through sudo apt-get install php7.0-bcmath (and restarting the webserver), the problem disappeared.

Have a wonderful day!