We have a backend observer that sets a session variable after a shipment is created (sales_order_shipment_save_commit_after). It’s been working for over 2 years, but after the latest upgrade to 2.4.3-p1 the session parameter is not being updated. The issue is also present if we use the raw $_SESSION variable instead […]
Monthly Archives: November 2021
I have created a custom ‘Forme’ product attribute select type based on option value class FormeOptions extends AbstractSource { /** * Get all options * * @return array */ public function getAllOptions() { if (null === $this->_options) { $this->_options=[ ['label' => __('-- Non renseigné --'), 'value' => 0], ['label' => […]
In the default Magento 2 transactional email, the payment info is loaded using {{var payment_html | raw}}. We want to load this paymenthtml also in a phtml block, but how can we achieve this? Already tried this but sadly that does not show any info: <?php $order = $this->getData('order'); echo […]
I have the harddrive fra a Zyxel NAS. The NAS is dead, but the harddrive seems okay. How can I access it? If I mount it in af USB harddrive case, Windows can see the disk in Disk Manager, but Explorer can’t read it. I have tried to install Oracle […]
I’m searching for a free and open source solution for remote support to Linux desktop workstations that can can be tunneled through ssh. I need to be able to connect to an already logged in and running session, by the local (physical) user, and control the session remotely. I’ve been […]
If somebody could please help me. I have a spreadsheet with column D containing a multitude of plan numbers, In column y there are only a few plan numbers which have different colored backgrounds. I am trying to automatically copy the background color from column Y’s number to column D(because […]
My XSLT sort of nodes is not working, please check what’s wrong with my xsl. I can only use xslt 1.0. input XML file <?xml version="1.0" encoding="UTF-8"?> <ST_Loop> <S5_Loop> <S5> <S501>1</S501> <S502>LD</S502> </S5> <G62> <G6202>20210929</G6202> <G6204>010000</G6204> </G62> <N1_Loop> <N1> <N101>Milford</N101> </N1> <N3> <N301>49 Sumner St</N301> </N3> <N4> <N401>Worcester</N401> <N403>01757-1656</N403> <N404>US</N404> […]
When I unlock my database, I’d like to be able to save an attached file from a particular KeePass entry to a particular location on my local drive… then delete that file when the database is locked or closed so that it’s not available when my database is locked (some […]
If you examine several frameworks and large-scale applications, you’ll certainly see a higher-order function at some point. Many languages support the idea of higher-order functions, including JavaScript, Java, .NET, Python and even PHP, to name a few. But what is a higher-order function and why would we want to use […]