Constructor in Joomla\CMS\Layout\FileLayout uses setComponent() and setClient() which both using the deprecated $this->refreshIncludePaths().
This is 'spamming' the /log/deprecated.php for no reason.
Both methods should use the new clearIncludePaths() which is already used by the old $this->refreshIncludePaths().
Use LayoutHelper::render()to render a layout.
Use new clearIncludePaths() and get no deprecated messages in log.
Use old refreshIncludePaths() which results in deprecated messages in log.
J3.8.7
I'll make a Pull Request in a bit.
| Labels |
Added:
?
|
||
| Status | New | ⇒ | Closed |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-04-21 05:28:45 |
| Closed_By | ⇒ | franz-wohlkoenig |
| Closed_By | franz-wohlkoenig | ⇒ | joomla-cms-bot |
Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/20207