2 votes
Accepted

Magento 2.4.5 customer-data.js not initiating in Custom theme js file

There is a issue 2.4.5 with cookies and storage dependency. here is the patch need to apply. https://github.com/magento/magento2/issues/35913 this solves my problem.
Nits's user avatar
  • 53
2 votes

How to show data in grid based on url parameter in magento 2 custom form?

I get your problem, You want to add a grid that loads the data of Faq by the Faq_category_id in the Faq Category. Correct me if I am wrong! if I am getting you right! You are trying to get the param ...
Nilay Patel's user avatar
2 votes

How to show data in grid based on url parameter in magento 2 custom form?

Hello Mujahidh you can replace your DataProvider file code with below code and try <?php namespace Ayakil\Faq\Ui\Component\Listing\Faq; use Ayakil\Faq\Model\ResourceModel\Faq\CollectionFactory; ...
Rahil Shaikh's user avatar
2 votes
Accepted

Warning: Undefined variable $localeFormatter in /var/core/www/vendor/magento/module-theme/view/frontend/templates/page/js/require_js.phtml on line 12

replace <type name="Magento\Framework\View\TemplateEngine\Php"> <arguments> <argument name="blockVariables" xsi:type="array"> &...
kailash mishra's user avatar
2 votes

Prices not changing as per country because of varnish , Any idea?

Can use http context or private content for bypass cache Http context: https://developer.adobe.com/commerce/php/development/cache/page/public-content/#configure-page-variations Private content: https:...
bang.nguyen47's user avatar
1 vote
Accepted

The website with id 8 that was requested wasn't found. Verify the website and try again

After debuging I found a solution, I have changed from SCOPE_WEBSITE to SCOPE_STORE the in this file line no. 131 File path :vendor/magento/module-customer/Model/ResourceModel/Address/Attribute/...
MP Raj's user avatar
  • 522
1 vote

The website with id 8 that was requested wasn't found. Verify the website and try again

I think you have a value in the core_config_data table where scope is website and scope_id is 8. Maybe a website you had and got deleted or you somehow inserted a wrong value in the table. Look for ...
Marius's user avatar
  • 198k
1 vote
Accepted

How to change default dropdown option for Carrier when creating a shipment

To set a carrier option as default when creating a shipment, you need to override the template file responsible for displaying carrier options: vendor/magento/module-shipping/view/adminhtml/templates/...
Tu Van's user avatar
  • 7,008
1 vote
Accepted

Login as a Customer via admin is not showing while edit a customer in magento 2

First check whether the following modules are enabled or not: Magento_LoginAsCustomer Magento_LoginAsCustomerPageCache Magento_LoginAsCustomerLogging Magento_LoginAsCustomerLog ...
Mohit Kumar Arora's user avatar
1 vote

Magento 2.4.5-p1 custom module pageBuilder not editing

Well it turns out all I needed was <update handle="editor"/> in the layout form.
Juliano Vargas's user avatar
1 vote
Accepted

How to install magento 2.4.5-p1 latest version on LAMP using Composer with sample data?

Try below setps and check. Install LAMP (Linux, Apache, MySQL, PHP) on your system if it is not already installed. Install Composer on your system. You can follow the official documentation for ...
Mohit Patel's user avatar
  • 3,823
1 vote

Php unit test throws assertInternalType is undefined in magento 2.4.5

The errors you are encountering indicate that the test methods assertInternalType() and assertArraySubset() are undefined. These methods were deprecated in PHPUnit 9 and removed in PHPUnit 10. To ...
Navneet Sharma's user avatar
1 vote
Accepted

PHPUnit\Framework\TestCase::prophesize() is deprecated and will be removed in PHPUnit 10. Please use the trait provided by phpspec/prophecy-phpunit

The error message indicates that you are using the prophesize() method in PHPUnit, which has been deprecated and will be removed in PHPUnit 10. Instead, you should use the ProphecyTrait provided by ...
Dotsquares's user avatar
1 vote

Frontend PHP error after 2.4.5 to 2.4.5-p1

Turns out I just needed to re-save the page in cPanel for the 8.1 to kick back in.
rodolphesalis's user avatar
1 vote
Accepted

Magento upgrade from 2.4.2-p1 to 2.4.5-p1 problems

This happened when you have disabled PHP functions: exec. ask your hosting provider or modify your php.ini file to remove it form disable_functions. then try to run php bin/magento cron:install --...
Mahmoud Bekhit's user avatar
1 vote

Magento upgrade from 2.4.2-p1 to 2.4.5-p1 problems

If you run apache as www-data check your crontab by running in terminal sudo crontab -u www-data -e to check if you are "really" using /usr/bin/php (php8.1 as you said) or the /usr/bin/php7....
JG Cabanas's user avatar
1 vote
Accepted

How to Create Bulk Product Attributes in magento 2?

Can you try using below script and create bulk product attributes:- <?php use Magento\Framework\App\Bootstrap; require __DIR__ . '/../app/bootstrap.php'; $bootstrap = Bootstrap::create(BP, $...
Mohit Patel's user avatar
  • 3,823
1 vote

Magento 2.4.5 Graphql get product by category_id or uid

If my understanding is right then you want to get the products from the category. Graphql API Request to get Products from category. { categoryList(filters: {ids: {eq: "10"}}) { ...
Jitendra Patel's user avatar
1 vote
Accepted

Magento 2.4.5 Graphql get product by category_id or uid

You can still filter your category/product request by their entity ID. It's advised you now use the uid field in the category response. Docs: https://developer.adobe.com/commerce/webapi/graphql/schema/...
Liam Toohey's user avatar
1 vote
Accepted

307 redirect in Magento 2

If you want to redirect with 307 response from the controller then use the below code: /** * @var $resultRedirect \Magento\Framework\Controller\Result\Redirect */ $resultRedirect = $this->...
Amit Bera's user avatar
  • 77.5k

Only top scored, non community-wiki answers of a minimum length are eligible