Project

General

Profile

Actions

Bug #71567

closed

Bug #72932: PHP Warning: Incompatible method declaration in Extbase

FAL FileReference

Added by Frank Buijze about 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Start date:
2015-11-13
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
7.0
Tags:
PHP7
Complexity:
Is Regression:
No
Sprint Focus:

Description

The following error occurs when switching from PHP 5.6 to PHP 7 in combination with TYPO3 7.6 LTS

1: PHP Warning: Declaration of TYPO3\CMS\Extbase\Domain\Model\FileReference::setOriginalResource(TYPO3\CMS\Core\Resource\FileReference $originalResource) should be compatible with TYPO3\CMS\Extbase\Domain\Model\AbstractFileFolder::setOriginalResource(TYPO3\CMS\Core\Resource\ResourceInterface $originalResource) in ***/typo3_src-7.6.0/typo3/sysext/extbase/Classes/Domain/Model/FileReference.php line 22

Actions #1

Updated by Riccardo De Contardi about 9 years ago

  • Category set to File Abstraction Layer (FAL)
Actions #2

Updated by Alexander Opitz almost 9 years ago

  • Status changed from New to Accepted
  • Assignee set to Alexander Opitz
  • Target version changed from 7 LTS to Candidate for patchlevel
Actions #3

Updated by Michael Oehlhof almost 9 years ago

How is it to reproduce?

Actions #4

Updated by Frank Buijze almost 9 years ago

Michael Oehlhof wrote:

How is it to reproduce?

Basic use of File Reference in combination with PHP 7. I experienced this error during the development of a plugin fro Typo3. Issue does not exist in earlier versions of PHP

Actions #5

Updated by Philipp Faber almost 9 years ago

Is there a fix or workaround for this? I just took a a whole installation and moved it to another server that runs PHP7 and now I get this error.

Actions #6

Updated by Michael Oehlhof almost 9 years ago

  • Status changed from Accepted to Closed
  • Assignee deleted (Alexander Opitz)
  • Parent task set to #72932

Duplicate of 72932

Actions

Also available in: Atom PDF