Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from, be sure to visit to add the license to your account here on

Ticket: Undefined index: templateDefinitionId

Status Resolved
Add-on / Version Bloqs 4.6.1
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 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.


BoldMinded (Brian)

Apr 08, 2021

Comment has been marked private.


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