Problem/Motivation

Place simplenews_subscription_block into panel and save it,
Expected - edit panel variant
Actual
LogicException: The database connection is not serializable. This probably means you are serializing an object that has an indirect reference to the database connection. Adjust your code so that is not necessary. Alternatively, look at DependencySerializationTrait as a temporary solution. in Drupal\Core\Database\Connection->__sleep() (line 1425 of /srv/core/lib/Drupal/Core/Database/Connection.php).

Proposed resolution

Remove unused query object

Remaining tasks

User interface changes

API changes

Data model changes

CommentFileSizeAuthor
#2 2795453-simplenews-block-2.patch3.89 KBandypost

Comments

andypost created an issue. See original summary.

andypost’s picture

Status: Active » Needs review
StatusFileSize
new3.89 KB

Query object breaks serialization

  • Berdir committed bd8dc46 on 8.x-1.x authored by andypost
    Issue #2795453 by andypost: Stop database serialization in panels/block
    
berdir’s picture

Status: Needs review » Fixed

makes sense, thanks.

Status: Fixed » Closed (fixed)

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