User tests: Successful: Unsuccessful:
The exception object doesn't have an errorMessage function, getMessage should be used instead.
throw new RuntimeException('test');The following error is shown:
Call to undefined method RuntimeException::errorMessage()
A warning message appears with text 'test'.
Please select:
Documentation link for guide.joomla.org:
No documentation changes for guide.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
| Status | New | ⇒ | Pending |
| Category | ⇒ | Administration com_users Front End com_contact Plugins |
I have tested this item ✅ successfully on 1588657
But you have to add (before and after applying the patch)
throw new \RuntimeException('test'); //after line 203
Note the backslash before \RuntimeException
I have tested this item ✅ successfully on 1588657
But you have to add (for testing, before and after applying the patch)
throw new \RuntimeException('test'); //after line 203
Note the backslash before \RuntimeException
I have tested this item ✅ successfully on 1588657
Thanks @MacJoom for the correction.
I have tested this item ✅ successfully on 1588657
Thanks @MacJoom for the correction.
| Status | Pending | ⇒ | Ready to Commit |
| Labels |
Added:
bug
PR-5.4-dev
|
||
RTC
RTC
| Status | Ready to Commit | ⇒ | Fixed in Code Base |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2026-06-21 19:54:33 |
| Closed_By | ⇒ | richard67 | |
| Labels |
Added:
RTC
|
||
I have tested this item ✅ successfully on 1588657
But you have to add (before and after applying the patch)
throw new \RuntimeException('test'); //after line 203
Note the backslash before \RuntimeException
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/47972.