Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setUseSessionInUrl(false) is no more allowed in Magento 2.3.5 #99

Open
nobodyMO opened this issue May 18, 2020 · 3 comments · May be fixed by #101
Open

setUseSessionInUrl(false) is no more allowed in Magento 2.3.5 #99

nobodyMO opened this issue May 18, 2020 · 3 comments · May be fixed by #101

Comments

@nobodyMO
Copy link

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.

@emmathepossum
Copy link

emmathepossum commented Jul 6, 2020

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

@mathula2504
Copy link

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

@nobodyMO
Copy link
Author

Which error message is in the log file?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants