Project

General

Profile

Actions

Bug #57332

closed

Call to a member function isPackageActive() on a non-object in .../typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php on line 101

Added by Frank Gerards over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2014-03-26
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.4
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Hi,

I tried to migrate a TYPO3 6.1.latest project to 6.2.0 (exchanged the 6.1 core to 6.2, clearing all previously files in typo3_src).
After I try to access the frontend/backend, I get redirected to "typo3/sysext/install/Start/Install.php" and am presented with the following
PHP error:

Fatal error: Call to a member function isPackageActive() on a non-object in <docroot>/typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php on line 101

By digging into the core I found a class inheritance bug, as an object, where the object with the isPackageActive() method is included via a dependency injection into another class, but the initation of the injected object is wrong, meaning the class variable isnt initiated i.e. in the constructor or another
init-method.
It only occurs if you try to migrate a given project from 6.1.latest to 6.2, not if you do a 6.2 from scratch.

Actions

Also available in: Atom PDF