magento-2-blog
magento-2-blog copied to clipboard
Deprected explode router
[php 8.1 - explode(): Passing null to parameter #2 ($string) of type string is deprecated] so i used null coalescing operator to avoid that error
@zenfork Thanks for the PR, I need this for a project (2.4.4/PHP8.1) and I'm using your PR as a composer patch to make it work. Unfortunately, the suggested change that you made in Controller/Router.php
by renaming $ids
to $routePath
is needed for it to work and it is not included in the Github patch version of the PR. Could you validate your own suggestion so that it can be used while the PR gets approved by the plugin's author? Thanks a lot!
Edit: woops sorry, I meant to thank @ishiekh-dev for the PR! And @zenfork for the suggestions.
Looks like approving the changes does not change the auto diff patch. @ishiekh-dev could you maybe include the suggestions to your PR so that the diff gets updated? Thanks!
Ping @ishiekh-dev ?
Hi , Thanks for your contribution. We have updated and released a new version that solves this problem. Thank you very much!