-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
Description
Admittedly, I had done something silly but this was easily done and overlooked, so this should be prevented. This was me just testing the module. I had created a new layout, removed the "Powered by Backdrop" block from that layout and then attempted to use Copy Block to get that same block from the default layout. But I accidentally chose my new layout and the block that I had just removed. So now it can't find it and throws errors. Understandably. But I shouldn't have been able to see that block as an option. I'm also not sure of the use case of copying blocks from other blocks in the same layout. I thought this was for keeping blocks in sync across layouts.
Warning: Undefined array key "9c9a79a2-954c-4247-b000-ef6629d813bc" in BlockCopy->getAdminTitle() (line 24 of /app/httpdocs/modules/copy_blocks/block.block_copy.inc).
Warning: Attempt to read property "module" on null in BlockCopy->getParentBlockInfo() (line 183 of /app/httpdocs/modules/copy_blocks/block.block_copy.inc).
Warning: Attempt to read property "delta" on null in BlockCopy->getParentBlockInfo() (line 183 of /app/httpdocs/modules/copy_blocks/block.block_copy.inc).
Warning: Undefined array key "" in BlockCopy->getParentBlockInfo() (line 183 of /app/httpdocs/modules/copy_blocks/block.block_copy.inc).
Warning: Trying to access array offset on value of type null in BlockCopy->getParentBlockInfo() (line 183 of /app/httpdocs/modules/copy_blocks/block.block_copy.inc).
Warning: Trying to access array offset on value of type null in BlockCopy->getAdminTitle() (line 26 of /app/httpdocs/modules/copy_blocks/block.block_copy.inc).