Publisher is EE6 compatible, but it does not support the Fluid field.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: Getting error—Undefined variable: revisionBlockId—when adding new bloqs to a page

Status Resolved
Add-on / Version Bloqs 4.6.1
Severity
EE Version ExpressionEngine 6.0.3

Jason Morehead

Apr 07, 2021

I recently upgraded my site from EE2 and Blocks to EE6 and Bloqs 4.6.1. Afterwards, I started getting the following error whenever I create a new bloqs page with at least one bloq or add bloqs to an existing page:

Undefined variable: revisionBlockId
user/addons/bloqs/Controller/PublishController.php, line 820
Severity: E_NOTICE

I get that error for each new bloq that I add to the page.

I don’t get any such errors when I modify an existing bloqs page. It only seems to happen when adding new bloqs.

Here are the steps to replicate the issue:

1) Log in to the control panel using the provided credentials.
2) Add a new entry into the “Pages - Block” channel.
3) Add at least one bloq in the “Page Blocks” field. It doesn’t seem to matter which bloq(s) are added.

#1

BoldMinded (Brian)

Apr 07, 2021

New build will be in the next comment. For reference the fix is adding this to line 789 of PublishController.php

$revisionBlockId = null;

#2

BoldMinded (Brian)

Apr 07, 2021

Comment has been marked private.

#3

Jason Morehead

Apr 07, 2021

Comment has been marked private.

#4

BoldMinded (Brian)

Apr 07, 2021

Nope, the fix is included in the next release.

#5

Jason Morehead

Apr 07, 2021

Excellent, thanks!

Login to reply