User tests: Successful: 1 mahbr Unsuccessful: 0
Pull Request for Issue #36730 .
Fix the error not using the injected database object but an undefined $db variable coming from the upmerge of PR #34640 from 3.10-dev into 4.0-dev 10 days ago.
Thanks to @SniperSister for the hint.
Either just code review, or have a site updated from 4.0.5 to 4.0.6 where you can reproduce issue #36730 and check if this fix solves it.
Unhandled PHP error in file "plugins/system/redirect/redirect.php", line 243 causes a server error when having redirects.
No unhandled PHP error in file "plugins/system/redirect/redirect.php", line 243 causes a server error when having redirects.
None.
Status | New | ⇒ | Pending |
Category | ⇒ | Front End Plugins |
In fact it is a tricky error. When doing the upmerge and checking the differences, you don't really see that. You really have to know the complete file to see that there is no local $db variable anymore in that routine but an injected class variable to be used.
Tested the patch, works fine!
Tested the patch, works fine!
@SniperSister Could you mark that in the issue tracker?
Version 4.0.7-dev #36733 is working like a charm.
Thank you
@ipresencesa Please go to the issue tracker here https://issues.joomla.org/tracker/joomla-cms/36733 and use the "Test this" button to mark your test result. Thanks in advance.
Status | Pending | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2022-01-18 15:37:44 |
Closed_By | ⇒ | wilsonge | |
Labels |
Added:
?
|
I have tested this item
Thanks very much for the rapid and working solution :-)
Credits should go to @SniperSister because he pointed me to that thing I've missed when checking the call stack posted in the issue.
guess that @wilsonge might have one more release to do after all. ;)