Please display the message "Fileset is required".

Permalink Browser Info Environment
Hi.

If save the block while leaving the fileset empty, will get the following error:

count(): Parameter must be an array or an object that implements Countable
詳細
/var/www/vhosts/example.com/releases/20/packages/wall_gallery_suite/blocks/wall_gallery/controller.php(90): Whoops\Exception\ErrorException->null   
/var/www/vhosts/example.com/releases/20/packages/wall_gallery_suite/blocks/wall_gallery/controller.php(90): null->count   
/var/www/vhosts/example.com/c5/8.5.2/concrete/src/Entity/Block/BlockType/BlockType.php(674): Concrete\Package\WallGallerySuite\Block\WallGallery\Controller->save   
/var/www/vhosts/example.com/c5/8.5.2/concrete/src/Page/Collection/Collection.php(967): Concrete\Core\Entity\Block\BlockType\BlockType->add   
/var/www/vhosts/example.com/c5/8.5.2/concrete/src/Page/Page.php(2717): Concrete\Core\Page\Collection\Collection->addBlock   
/var/www/vhosts/example.com/c5/8.5.2/concrete/controllers/dialog/page/add_block.php(100): Concrete\Core\Page\Page->addBlock   
/var/www/vhosts/example.com/c5/8.5.2/concrete/src/Controller/AbstractController.php(294): Concrete\Controller\Dialog\Page\AddBlock->submit   
/var/www/vhosts/example.com/c5/8.5.2/concrete/src/Controller/AbstractController.php(294): null->call_user_func_array   
/var/www/vhosts/example.com/c5/8.5.2/concrete/src/Routing/ControllerRouteAction.php(64): Concrete\Core\Controller\AbstractController->runAction   
/var/www/vhosts/example.com/c5/8.5.2/concrete/src/Http/RouteDispatcher.php(37): Concrete\Core\Routing\ControllerRouteAction->execute   
/var/www/vhosts/example.com/c5/8.5.2/concrete/src/Http/Middleware/DispatcherDelegate.php(39): Concrete\Core\Http\RouteDispatcher->dispatch   
/var/www/vhosts/example.com/c5/8.5.2/concrete/src/Http/Middleware/MiddlewareStack.php(86): Concrete\Core\Http\Middleware\DispatcherDelegate->next   
/var/www/vhosts/example.com/c5/8.5.2/concrete/src/Http/DefaultDispatcher.php(125): Concrete\Core\Http\Middleware\MiddlewareStack->process


Not error code, I'm happy if there is a "Fileset is required" message.

Thank you.

Type: Pre-Sale
Status: New
concrete5cojp
View Replies:

concrete5 Environment Information

add-on Version: 1.2
concrete5: 8.5.2

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.