Skip to content

PHP Fatal error: Cannot use ::class with dynamic class name in /home/magento/web/MYWEBSITE/public_html/vendor/laminas/laminas-mail/src/Message.php

When I ran the command php bin/magento s:s:d -f while upgrading Magento from 2.4.2 to 2.4.4, I get the following error. PHP Fatal error: Cannot use ::class with dynamic class name in /home/magento/web/magento2.perfectmakeupmirrors.com/public_html/vendor/laminas/laminas-mail/src/Message.php on line 394 I picked up the… Read More »PHP Fatal error: Cannot use ::class with dynamic class name in /home/magento/web/MYWEBSITE/public_html/vendor/laminas/laminas-mail/src/Message.php

Magento2.4.2: how to add sort order filter in order collection?

I’m trying to add sort order filter in my order collection as you can see in this piece of code $collection = $this->orderCollectionFactory->create() ->addAttributeToSelect(‘*’) ->addAttributeToFilter(‘created_at’, array(‘from’ => $from, ‘to’ => $to)) ->addAttributeToFilter(“consignment_status”, $orderStatus, “eq”) ->addAttributeToFilter(“status”, $statusToGet, “in”) ->setPageSize($this->_consignmentHelper->getGeneralPageSize()) ->setOrder(‘entity_id’, ‘DESC’)… Read More »Magento2.4.2: how to add sort order filter in order collection?

install google font local

I have got an information that I must install the used google font local. I have checked my domain https://www.agoshop.at at https://www.ccm19.de and https://sicher3.de/google-fonts-checker/ I will get the following information to install the fonts local: https://fonts.googleapis.com/css?display=swap&family=Lato:100,100i,300,300i,400,400i,700,700i,900,900i https://fonts.googleapis.com/css?display=swap&family=Poppins:300,400,500,600,700 https://fonts.googleapis.com/css?display=swap&family=Open+Sans%3A300%2C300italic%2C400%2C400italic%2C600%2C600italic%2C700%2C700italic%2C800%2C800italic,latin-ext https://fonts.gstatic.com/s/opensans/v34/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTS-muw.woff2 https://fonts.gstatic.com/s/lato/v23/S6u9w4BMUTPHh6UVSwiPGQ.woff2… Read More »install google font local