Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Saving Matrix Field through jobs throws an error #2813

Closed
pdaleramirez opened this issue Apr 26, 2018 · 1 comment
Closed

Saving Matrix Field through jobs throws an error #2813

pdaleramirez opened this issue Apr 26, 2018 · 1 comment

Comments

@pdaleramirez
Copy link
Contributor

pdaleramirez commented Apr 26, 2018

$session->addAssetBundleFlash(MatrixAsset::class);
$session->addJsFlash('Craft.MatrixInput.forgetCollapsedBlockId('.$this->id.');');

Saving matrix data field through jobs queue on an element will result into Cannot send session cookie - headers already sent error and failed jobs. Tested commenting those 2 lines fixed the issue,
@BenParizek

@brandonkelly
Copy link
Member

Fixed for the next release, thanks!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants