How To Find The Size Of A Directory In Linux Ubuntu

This brief tutorial explains how to find the size of a directory on Ubuntu or Other operating systems. getiing the size of files and folder in GUI mode quite easy. you have to just right-click go to the Property but in console mode. Let me show you how to find the size of a Ubuntu/Linux directory on the command line. add -h tag with du command as shown below. use -k for kilobytes, -m for megabytes [root@webtechbuzz]# du -k /home/webtechbuzz …

Read More

Difference between _forward() and _redirect() action in magento 2

_forward() just forwards everything to another controller action, while _redirect() sends a header, meaning you create a new HTTP Request and go through the entire dispatch process with it. _forward() protected function will edit the request to transfer it to another controller/action class. This will not change the request url. _redirect() This method will redirect to another controller/action class and also change the response http header and the request url. For instance, if you call up http://www.webtechbuzz.com/foo/bar you’d call the …

Read More

Magento 2 UI Component Basic

The user interface Or UI component is a Magento 2 innovative designed patarn to represent elements of the UI on the screen. They allow a connection between the visual element of the user interface and the processing of related data sent by users. The user interface components, in essence, make use of the elements of the user interface to make Magento 2 administrators very simple and flexible, as well as provide some other benefits.

Read More

getting issue in ui component form

Fatal error: Uncaught TypeError: Argument 2 passed to Magento\Framework\View\Element\UiComponentFactory::argumentsResolver() must be of the type array, null given, called in /var/www/magentor00t/vendor/magento/framework/View/Element/UiComponentFactory.php on line 198 and defined in /var/www/magentor00t/vendor/magento/framework/View/Element/UiComponentFactory.php:164 Stack trace: #0 /var/www/magentor00t/vendor/magento/framework/View/Element/UiComponentFactory.php(198): Magento\Framework\View\Element\UiComponentFactory->argumentsResolver(‘createfilter_fo…’, NULL) #1 /var/www/magentor00t/vendor/magento/framework/View/Layout/Generator/UiComponent.php(135): Magento\Framework\View\Element\UiComponentFactory->create(‘createfilter_fo…’, NULL, Array) #2 /var/www/magentor00t/vendor/magento/framework/View/Layout/Generator/UiComponent.php(97): Magento\Framework\View\Layout\Generator\UiComponent->generateComponent(Object(Magento\Framework\View\Layout\Data\Structure), ‘createfilter_fo…’, Array, Object(Magento\Framework\View\Layout\Intercep in /var/www/magentor00t/vendor/magento/framework/View/Element/UiComponentFactory.php on line 164

Read More