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 expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: BETA Entry with Blogs field type cannot be saved properly

Status Resolved
Add-on / Version Bloqs 4.0
Severity
EE Version 4.0.9

Chun Kit Chris Wong

Feb 23, 2018

 


Description:
I just installed the Bloqs 4.0 into my production site and under Bloqs I created 2 news blocks: one is “social media embed” (just a plain textarea) and another one is “header and content” (which is an Expresso field type for content); and then go to Field and create a new Bloqs field type and choose “Social Media Embed” and “Header and Content” and name it as “Blog Block”

Detailed steps to reproduce the issue:
1. add a “social media embed” block
2. add a “header and content” block
3. save
4. returns some error messages, please see the screenshot

Please let me know if you want to access my production site
Thanks,
Chris

 

 

 

 

#1

BoldMinded (Brian)

It does not look as if the proper styles are applied to the blocks. They should have a blue border. Are you using a custom theme? Can you replicate this in a clean environment with only Bloqs installed?

#2

BoldMinded (Brian)

Excuse me, a grey border, and blue on hover.

#3

BoldMinded (Brian)

Also, what are your field settings? Is this field set to be nestable or not?

#4

Chun Kit Chris Wong

I remove the add-on “Spruce” which is designed by Mark. And i still cannot save it.

#5

Chun Kit Chris Wong

All three blocks are set “Can be nested at any level”

#6

BoldMinded (Brian)

Not those settings, the main blocks field… this setting.

https://www.dropbox.com/s/h6rypoadkbyhnz9/Screenshot 2018-02-23 15.13.18.png?dl=0

#7

Chun Kit Chris Wong

Auto Expand? No Nestable? No

#8

Chun Kit Chris Wong

after i make it testable, i can save it without errors

#9

Chun Kit Chris Wong

excuse me, after i make it nestable, i can save it without errors

#10

Chun Kit Chris Wong

install the custom theme again and add a block, quotation, and able to save it without problems

#11

BoldMinded (Brian)

I’m unable to replicate this error locally. Can you try this in a fresh EE environment with only Bloqs installed to see if it still happens?

I’ll be honest, I’m a little concerned about this comment “I just installed the Bloqs 4.0 into my production site” - Beta software shouldn’t be thrown into a production site untested.

#12

Chun Kit Chris Wong

ok, let me try it on my local server but it works when i have nestable enabled

#13

Chun Kit Chris Wong

I just tested in my local server and the situation is exactly the same. Without “nestable” enabled it returns some error messages. Let me try in on a fresh ee 4 install

#14

Chun Kit Chris Wong

cannot install Bloqs 4.0 but 3.3.3 can be installed without errors.

#15

BoldMinded (Brian)

What do you mean you can’t install it? Do you get errors installing?

#16

Chun Kit Chris Wong

when i install a brand new Bloqs 4.0 it returns some error messages (Sorry i did not save a screenshot and i cannot replicate this anymore) And then i uninstalled 4.0 andinstalled Bloqs 3.3.3 and it worked and then i installed Bloqs 4.0 again and this time it allowed me to install without errors

#17

Chun Kit Chris Wong

i am able to replicate this bug in my fresh new EE 4.0.9 install with Bloqs 4.0

Notice

Undefined index: blocks_new_row_1

user/addons/bloqs/libraries/EEBlocks/Helper/TreeHelper.php, line 101

Severity: E_NOTICE
Warning

Cannot modify header information - headers already sent by (output started at ee/legacy/core/Exceptions.php:111)

ee/legacy/core/Input.php, line 233

Severity: E_WARNING
Warning

Cannot modify header information - headers already sent by (output started at ee/legacy/core/Exceptions.php:111)

ee/legacy/core/Input.php, line 233

Severity: E_WARNING
Warning

Cannot modify header information - headers already sent by (output started at ee/legacy/core/Exceptions.php:111)

ee/legacy/libraries/Functions.php, line 392

Severity: E_WARNING
#18

BoldMinded (Brian)

I was able to replicate the install error and have a fix for it.

#19

Chun Kit Chris Wong

but how about the “nestable” issue? I have to make it enabled otherwise it returns errors when i save the entry? Can you replicate it?

#20

Chun Kit Chris Wong

test one more time. Enable “nestable” and save it without errors.

#21

BoldMinded (Brian)

I’m still looking into that, but need to stop for the day.

#22

Chun Kit Chris Wong

sure.

#23

BoldMinded (Brian)

Comment has been marked private.

#24

Chun Kit Chris Wong

Comment has been marked private.

#25

Chun Kit Chris Wong

i can save it without having “nestable” enabled.

#26

BoldMinded (Brian)

So that means its fixed for you?

#27

Chun Kit Chris Wong

yeah, i think so. thanks

#28

BoldMinded (Brian)

Cool, I’ll close this then.

#29

Chun Kit Chris Wong

so sorry Brian, i don’t think the bug has been fixed. I said so because i simply tested it whether it returns errors when i have “Nestable” disable. It worked fine this way. However, when i add a new block element, it returns errors again.

Notice

Undefined index: blocks_new_row_1

user/addons/bloqs/libraries/EEBlocks/Helper/TreeHelper.php, line 101

Severity: E_NOTICE
Warning

Cannot modify header information - headers already sent by (output started at ee/legacy/core/Exceptions.php:111)

ee/legacy/core/Input.php, line 233

Severity: E_WARNING
Warning

Cannot modify header information - headers already sent by (output started at ee/legacy/core/Exceptions.php:111)

ee/legacy/core/Input.php, line 233

Severity: E_WARNING
Warning

Cannot modify header information - headers already sent by (output started at ee/legacy/core/Exceptions.php:111)

ee/legacy/libraries/Functions.php, line 392

Severity: E_WARNING
#30

Chun Kit Chris Wong

i just tested it on my local ee 4.0.9 fresh install and the issue stays the same. The blogs field needs to be nestable otherwise it returns errors. Chris

#31

BoldMinded (Brian)

Make sure you clear your browser cache so you get the latest JS changes. If you’re using Chrome its possible its still using an old version of the file. Chrome tends to cache things pretty hard.

#32

Chun Kit Chris Wong

Hey Brian, i just tested it on my local ee and i cleared all the cache already. the issue persists.

#33

Chun Kit Chris Wong

I tested it on Chrome and Safari and Firefox, all of them return error messages when “Nestable” is disabled.

#34

BoldMinded (Brian)

I’m unable to replicate. It saves fine for me if its a nestable or non-nestable field. I can create a new entry with all new blocks, or add blocks along side existing blocks on an existing entry.

I need to shift my attention to bugs in non-beta versions of my add-ons. Please provide a video of the error that includes all the settings you have for the field and blocks. I’ll come back to this in a few days.

#35

Chun Kit Chris Wong

hi Brian, here is the link of the video: https://www.dropbox.com/s/5arikyi3fjhrvr8/bloqs-4-bug-report.mov?dl=0

#36

BoldMinded (Brian)

Chris, I still can’t replicate this. I’m probably just going to release 4.0 soon anyway. If someone else reports the same issue then obviously I’ll dig into it some more.

#37

Chun Kit Chris Wong

no problem. so what is the possible cause on my side?

#38

Chun Kit Chris Wong

FYI. Probably there might be something wrong when i installed ExpressionEngine. I tested it one more time on the EE4.0.9 which is on MAMP pro with SSL

A: 1. completely uninstalled the Bloqs 4.0 and remove the folders 2. place the Bloqs 3.3.3 folders to the system and theme and install it on CP and test; no problem at all 3. place the Bloqs 4.0 folders to the system and theme and update in on CP and test; same error

B: 1. completely uninstalled the Bloqs 4.0 and remove the folders; 2. place the Bloqs 4.0 folders to the system and theme; and install in on CP and test; same error

#39

BoldMinded (Brian)

Yeah, I’m not sure what I can do. I just un-installed Bloqs 4, re-installed, created a new block, a new field, assigned the block to the field (which is not nestable) and saved the entry several times, and each time adding a new block to the entry with no errors.

Have you tried it with a brand new EE install? Or tried on a different server?

#40

Chun Kit Chris Wong

i will try again this weekend. As you know, that ee 4.0.9 is a fresh new install without any add-ons nor custom configs. Also i try to install it on all my local ee sites and my production sites and have the same issue.

Undefined index: blocks_new_row_1
user/addons/bloqs/libraries/EEBlocks/Helper/TreeHelper.php, line 101

really weird. Thanks anyway. Chris

#41

BoldMinded (Brian)

Can you provide FTP and CP access to the broken site? Edit the ticket and add it in the fields provided if you can.

#42

Chun Kit Chris Wong

it is done. Not sure if you got the password as it only appears dots in the field.

#43

BoldMinded (Brian)

Comment has been marked private.

#44

Chun Kit Chris Wong

it works now, thanks so much. Do you still need my login of the testing site?

#45

BoldMinded (Brian)

Awesome! Again, sorry for sounding like I was denying there was a bug 😊

I don’t need the login anymore. Once I close this ticket it deletes it from my database for security.

Login to reply