magento2-pdf-generator2 icon indicating copy to clipboard operation
magento2-pdf-generator2 copied to clipboard

setUseSessionInUrl(false) is no more allowed in Magento 2.3.5

Open nobodyMO opened this issue 4 years ago • 3 comments

The use of setUseSessionInUrl(false) in Model/Template/Processor.php is no more allowed in Magento 2.3.5. The Result is the following exception:

User Deprecated Functionality: Session ID is not used as URL parameter anymore. in /var/www/magento-dev/vendor/magento/module-email/Model/Template/Filter.php on line 274 at /var/www/magento-dev/vendor/magento/framework/App/ErrorHandler.php:61)"} []

Since the function setUseSessionInUrl of Filter has no more function except to create the exception, it is sufficient to delete the line.

nobodyMO avatar May 18 '20 09:05 nobodyMO

I can reproduce this and indeed deleting the function call to setUseSessionInUrl in Model/Template/Processor.php:77 solves this

emmathepossum avatar Jul 06 '20 10:07 emmathepossum

Hi, Still not working after removing that line too. Can you please help me?

mathula2504 avatar Jul 20 '20 14:07 mathula2504

Which error message is in the log file?

nobodyMO avatar Jul 20 '20 15:07 nobodyMO