After update module to 8.x-3.1 version. I get WSOD (The website encountered an unexpected error. Please try again later.) on the some pages. In log:

2017/10/18 22:50:12 [error] 782#782: *880225 FastCGI sent in stderr: "PHP message: Error: Unsupported operand types in /var/www/irbitcity.ru/html/web/modules/contrib/double_field/src/Plugin/Field/FieldFormatter/UnformattedList.php on line 29 #0 /var/www/irbitcity.ru/html/web/core/lib/Drupal/Core/Field/FormatterBase.php(80): Drupal\double_field\Plugin\Field\FieldFormatter\UnformattedList->viewElements(Object(Drupal\Core\Field\FieldItemList), 'ru')
#1 /var/www/irbitcity.ru/html/web/modules/contrib/double_field/src/Plugin/Field/FieldFormatter/Base.php(162): Drupal\Core\Field\FormatterBase->view(Object(Drupal\Core\Field\FieldItemList), 'ru')
#2 /var/www/irbitcity.ru/html/web/core/lib/Drupal/Core/Entity/Entity/EntityViewDisplay.php(259): Drupal\double_field\Plugin\Field\FieldFormatter\Base->view(Object(Drupal\Core\Field\FieldItemList), NULL)
#3 /var/www/irbitcity.ru/html/web/core/lib/Drupal/Core/Entity/Entity/EntityViewDisplay.php(217): Drupal\Core\Entity\Entity\EntityViewDisplay->buildMultiple(Array)
#4 /var/www/irbitcity.ru/html/web/core/lib/Drupal/Core/Entity/EntityViewBuilde" while reading response header from upstream, client: 5.141.91.230, server: 34355.ru, request: "GET /afisha HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.0-fpm.sock:", host: "34355.ru", referrer: "http://34355.ru/novosti"

CommentFileSizeAuthor
#5 2917356-5.patch633 bytescasey

Comments

sashken2 created an issue. See original summary.

chi’s picture

Can try to resubmit formatter configuration form?

sashken2’s picture

I'm try and get error again:

2017/10/20 08:48:06 [error] 782#782: *1040332 FastCGI sent in stderr: "PHP message: Error: Unsupported operand types in /var/www/irbitcity.ru/html/web/modules/contrib/double_field/src/Plugin/Field/FieldFormatter/UnformattedList.php on line 29 #0 /var/www/irbitcity.ru/html/web/core/lib/Drupal/Core/Field/FormatterBase.php(80): Drupal\double_field\Plugin\Field\FieldFormatter\UnformattedList->viewElements(Object(Drupal\Core\Field\FieldItemList), 'ru')
#1 /var/www/irbitcity.ru/html/web/modules/contrib/double_field/src/Plugin/Field/FieldFormatter/Base.php(162): Drupal\Core\Field\FormatterBase->view(Object(Drupal\Core\Field\FieldItemList), 'ru')
#2 /var/www/irbitcity.ru/html/web/core/lib/Drupal/Core/Entity/Entity/EntityViewDisplay.php(259): Drupal\double_field\Plugin\Field\FieldFormatter\Base->view(Object(Drupal\Core\Field\FieldItemList), NULL)
#3 /var/www/irbitcity.ru/html/web/core/lib/Drupal/Core/Entity/Entity/EntityViewDisplay.php(217): Drupal\Core\Entity\Entity\EntityViewDisplay->buildMultiple(Array)
#4 /var/www/irbitcity.ru/html/web/core/lib/Drupal/Core/Entity/EntityViewBuilde" while reading response header from upstream, client: 178.154.224.71, server: 34355.ru, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.0-fpm.sock:", host: "34355.ru"

P.S. I'm use Double Field in Paragraph. But version 8.x-3.0 works good.

janehollander’s picture

I can confirm that I am experiencing the same issue, reverting back to version 8.x-3.0 works.

casey’s picture

Status: Active » Needs review
StatusFileSize
new633 bytes
maijs’s picture

Status: Needs review » Reviewed & tested by the community

Patch in #5 fixes the problem. Thanks, @casey!

milos.kroulik’s picture

Works fine for me. Can we get a new version released?

  • Chi committed 843156b on 8.x-3.x authored by casey
    Issue #2917356 by casey, sashken2: Error after update to 8.x-3.1 version
    
chi’s picture

chi’s picture

Status: Reviewed & tested by the community » Fixed

Fixed and released. Thanks.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.