Hello, Currently in a project we came to debate one thing about deadlocks. We have a table used by thousands of clients. Lets say for example a table “documents”, where each client has their own documents. The documents can be up to 100 thousand per client. Lets say that 3 […]
Monthly Archives: January 2020
Hi, I just created my first PHP composer package. It is an extension for PHPStan (static analysis tool) with (so far) 2 custom rules to check PHPUnit test code. https://github.com/ikvasnica/phpstan-clean-test I will be very glad for any feedback 🙂 Thanks! submitted by /u/ikvasnica [link] [comments]
Has anyone found a project management solution they actually enjoy using? Or if not enjoy, at least don’t hate. I’ve used two extensively: Jira and Asana. One is bloated, clunky, slow, and has a high learning curve. The other lacks basic features one would expect. You figure out which one […]
I am using $this->checkoutSession->getQuote() in one of my module. When I change the price of the product already added in the one-page checkout, from the admin and reload the one-page checkout $this->checkoutSession->getQuote() throwing error.
After upgrading magento to 2.3.4 my checkout page is now broken, giving me an error POST mydomain/checkout/ 404 (not found) as well as defaultCaptcha.js cannot read property ‘timestamp’ of undefined’; and misc.js cannot read property of ‘status’ undefined.
EDIT: I noticed that I can’t change any setting anymore! It just resets after save to the old value. No error message is shown. Old Title: Theme does not change, even though database value changes If I change the theme in Content -> Design -> Configuration Then it always changes […]
I have a template from a customer’s Magento 1 theme that I need to move to M2. The theme isn’t the same but the template does what I need it to on M1 and I need this in Magento 2. < ?php $parentCategoryId = 20; $cat = Mage::getModel('catalog/category')->load($parentCategoryId); $subcats = […]
I want to sort a repository by more than one attribute. Any ideas of how to achieve this? What I have so far is this: public function getLatestPosts() { return $this->postRepository ->getList($this->buildSearchCriteriaForLatestPosts()) ->getItems(); } private function buildSearchCriteriaForLatestPosts() { $this->prepareSearchCriteriaBuilder(); $this->searchCriteriaBuilder->setPageSize(1); return $this->searchCriteriaBuilder->create(); } private function prepareSearchCriteriaBuilder() { /** @var MagentoFrameworkApiSortOrder […]
I cannot resolve the problem “The hardware virtualization is enabled in the Acceleration section of the system page although it is not supported by the host system. It should be disabled in order to start the virtual system” But when I try turn it off I cant press Ok when […]