Install an extension running on J 3.8 that extends JControllerLegacy and override the constructor __construct
All works fine
Fatal error: Call to a member function createModel() on null in E:\vhosts\joomla39\libraries\src\MVC\Controller\BaseController.php on line 559
With the current MVC backported from J4.0 now a class that extends JControllerLegacy AKA Joomla\CMS\MVC\Controller\BaseController throws a fatal error if there is an override for the constructor and the property 'factory' is so empty
Check the existance of the factory object before calling:
$this->factory->createModel
$this->factory->createView
Labels |
Added:
?
|
Title |
|
Category | ⇒ | Code style |
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-10-16 11:46:15 |
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/18349
Reference PR #18351