We are trying to identify mobile devices to serve mobile specific images for speed optimisation. When requesting the User Agent on our homepage, it will return the correct agent when placed in one area on the page, and when placed in another the User Agent gets cached and never changes. […]
Magento
I am getting these errors in Magento checkout 2.4.5p2 caught TypeError: Cannot read properties of undefined (reading ‘quoteData’) quote.js caught TypeError: Cannot read properties of undefined (reading ‘storeCode’) url-builder.js Magento_Checkout/js/model/url-builder.js Magento_Checkout/js/model/quote.js
I am a newbie to Magento. I am trying to find the various system variables used in Magento. For ex: how can i find the store opening hours? I know that it can be found in one of the email templates, but my question is, is there a way to […]
I installed magento2.4.6 on Ubuntu22.04. I don’t know much about folder permissions, and now I can’t login to /var/www/html files using sftp. How can I solve this problem? 【FileZilla】 Status: Listing directory /var/www Status: Directory listing of "/var/www" successful Status: Retrieving directory listing of "/var/www/html"... Command: cd "html" Error: Directory […]
I had written the test case for my function which is fetching data from cms_page table but im getting error when running my unit test cases this is my error Error: Call to a member function addFilter() on string i added my model and testcase file here <?php /** * […]
Due to Content-Security-Policy it is not displaying CSS and JS on both storefront and admin after my magento 2.4.5 installation using docker. i try deleting var and inside pub/static except .htaccess i deleted all file after i tried static content deploy, and also insering a value o for core_confi_data table, […]
MAGENTO_BACKEND_URL=https://pwa02.wsl/ (M2 here working well, all pages exists) DEV_SERVER_HOST=pwa02.dev.wsl DEV_SERVER_PORT=10000 Ubuntu 20.04 over WSL2 Apache 2 PHP 7.4 MySQL 8.0 Magento 2.4.3 Venia sample data installed Installation: git clone https://github.com/magento/pwa-studio.git sudo yarn install MAGENTO_BACKEND_URL=https://pwa02.wsl/ yarn buildpack create-env-file packages/venia-concept sudo yarn buildpack create-custom-origin packages/venia-concept sudo yarn run build sudo yarn run […]
Notice: Trying to access array offset on value of type null in /home/u1230712/*******.com.tr/vendor/magento/module-captcha/Model/DefaultModel.php on line 485 When i entered to the admin panel, this error is showing. How can i fix the problem? I added the error code below. line 485: public function getWord() { $sessionData = $this->session->getData($this->getFormIdKey(self::SESSION_WORD)); return time() […]