I have no idea why my getSelect printing query without echo & __toString. public function loadOrdersCollection($orders): mixed { $pac_orders = array(); $orderCollection = $this->orderCollection->create()->addFieldToFilter('increment_id', $orders, 'in'); $paymentMethods = explode(',', $this->getPaymentMethods()); /* join with payment table */ $joinQuery = $orderCollection->getSelect() ->join(["sales_order_payment"], 'main_table.entity_id = sales_order_payment.parent_id', array('method') ) ->where('sales_order_payment.method IN (?)', $paymentMethods); $orders […]
Daily Archives: October 15, 2023
I have pwa-studio with cenia theme installed. but like to switch back to default magento theme. how can i do this without deleting pwa-studio and cenia theme from my server.
I am trying to change the way displaying the tabs in product page ( details, more information and reviews ). I don not want it to be tabs I want it to display directly one after one: details then reviews then more information all showing on the same time not […]
I’m currently using rdiff-backup on a Debian system to perform daily backups via a cron job like so: rdiff-backup /var/www/html/ /backup/rdiff/html/ However, this approach is generating a large number of backup files. Previously, when I was using rsnapshot, I had different retention intervals configured as follows: rsnapshot.conf: retain alpha 6 […]
I plan on upgrading the SSD in my PC and after a few days of research, can’t figure out if they are compatible. My mainboard is Asus H97-Plus with m.2 (socket 3), M Key type 2242/2260/2280 up to 10 Gb/s. I’m debating between the Samsung m.2 980 Pro and the […]
Been using pocketsphinx to successfully grab transcripts from wav files, and it made sense to me that there would be an argument for adding timestamps. Actually, there are SO MANY arguments in the help file: Arguments list definition: [NAME] [DEFLT] [DESCR] -adcdev Name of audio device to use for input. […]
ALL, I’m sorry if this question doesn’t belong here. Please direct if it doesn’t. I’m running RHEL8 on my hardware and I need to use VM with VirtualBox to test my code. For some reason my host machine just crashed. When I started it back and re-run the VB, I […]
I installed a new CPU in my PC, but when I turn on the machine the fans start, but the monitor gets no signal.The sound of beep is comes, and the computer does not restart automatically (i read that for some people it does) mother board: H61 power supply: 300W […]