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"
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 2917356-5.patch | 633 bytes | casey |
Comments
Comment #2
chi commentedCan try to resubmit formatter configuration form?
Comment #3
sashken2 commentedI'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.
Comment #4
janehollander commentedI can confirm that I am experiencing the same issue, reverting back to version 8.x-3.0 works.
Comment #5
casey commentedBug was introduced in #2907640: RDF Mapping of double fields
Comment #6
maijs commentedPatch in #5 fixes the problem. Thanks, @casey!
Comment #7
milos.kroulik commentedWorks fine for me. Can we get a new version released?
Comment #9
chi commentedComment #10
chi commentedFixed and released. Thanks.