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: Undefined index: templateDefinitionId

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

Brandon Hoover

Apr 08, 2021

Fresh install of EE6 with Bloqs 4.6.1. Built out a few bloqs for a simple nesting layout. In the channel, it would error on save as described in https://boldminded.com/support/ticket/2280. Fixed as described.

Delete any bloqs from the page and it throws the error:
Undefined index: templateDefinitionId
user/addons/bloqs/Controller/PublishController.php, line 744

Since I was already in the file from the other error, I tried essentially the same fix. Replaced line 744 with code below:

$templateDefinitionId = (!empty($blockData['templateDefinitionId'])) ? intval($blockData['templateDefinitionId']) : 0;

Seems to have done the trick.

#1

BoldMinded (Brian)

Apr 08, 2021

Comment has been marked private.

#2

BoldMinded (Brian)

Apr 08, 2021

Oh I see what you’re saying, sorry about that. Thanks for the fix. I included it in the next build.

Login to reply