Skip to content

magento man

Time to live error

In my magento (2.4.6-p5, with Varnish and Redis) I keep getting following error in exception.log: [2024-05-15T18:23:57.623784+00:00] main.CRITICAL: InvalidArgumentException: Time to live is a mandatory parameter for set public headers in /home/www/sklepy/mag/vendor/magento/framework/App/Response/Http.php:137 Stack trace: #0 /home/www/sklepy/mag/generated/code/Magento/Framework/App/Response/Http/Interceptor.php(41): MagentoFrameworkAppResponseHttp->setPublicHeaders() #1 /home/www/sklepy/mag/vendor/magento/module-page-cache/Controller/Block/Esi.php(33): MagentoFrameworkAppResponseHttpInterceptor->setPublicHeaders() #2… Read More »Time to live error

Just host refund issue

Hello team, As a former web host (over a year ago) I signed up with JustHost and their “anytime money back guarantee”. I cancelled due to… | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1919034&goto=newpost

How can I add custom method for MagentoEmailModelAbstractTemplate?

I need to replace the method of getting the link this.getURL() with my custom method this.customMethod() in the confirmation email of the user during registration. I have created a module: registration.php <?php MagentoFrameworkComponentComponentRegistrar::register( MagentoFrameworkComponentComponentRegistrar::MODULE, ‘MyModules_Email’, __DIR__ ); etc/module.xml <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”… Read More »How can I add custom method for MagentoEmailModelAbstractTemplate?

Upgrade to Magento 2.4.7 error in module-payment-services-base

After upgrading from Magento 2.4.6 to 2.4.7 I receive the following error, everytime I try to access to payment method configuration (Stores -> Configuration -> Sales -> Payment Methods): Exception: Warning: Undefined array key “children” in /var/www/html/vendor/magento/module-payment-services-base/Plugin/MovePaymentMethods.php on line 66… Read More »Upgrade to Magento 2.4.7 error in module-payment-services-base

switcherConfig not working with tab layout but works with collapsible

I am trying to add a switcherConfig on one of my ui component field. Its a simple show/hide rule based on value of one field. <settings> <switcherConfig> <rules> <rule name=”0″> <value>0</value> <actions> <action name=”0″> <target>my_form.my_form.fieldset.target_field</target> <callback>hide</callback> </action> </actions> </rule> <rule… Read More »switcherConfig not working with tab layout but works with collapsible