Project

General

Profile

Bug #94972

Updated by Alexander Nitsche over 2 years ago

Since PHP 8 gives warnings where PHP 7 gave hints, these additional areas of the EXT:impexp functional tests need to be corrected. 

 ---------------------------------------------------------------------------------------- 

 Exporting the page tree and selecting "Expanded page tree" without having changed the page tree throws a warning: 

 <pre><code class="php"> 
 Core: Error handler (BE): PHP Warning: Undefined array key "stateHash" in /var/www/html/typo3/sysext/impexp/Classes/View/ExportPageTreeView.php line 182 
 </code></pre> 

 Adapt handling to \TYPO3\CMS\Backend\Controller\Page\TreeController::initializeConfiguration to catch this warning. 

 ---------------------------------------------------------------------------------------- 

 Further warnings: 

 # PHP Warning: Undefined array key "2487ce518ed56d22f20f259928ff43f1" in /typo3/sysext/impexp/Classes/ImportExport.php line 1320 
 # PHP Warning: Trying to access array offset on value of type null in /typo3/sysext/impexp/Classes/ImportExport.php line 1320 
 # PHP Warning: Undefined array key "relFileName" in /typo3/sysext/impexp/Classes/Export.php line 718 
 # PHP Warning: Undefined array key "2487ce518ed56d22f20f259928ff43f1" in /typo3/sysext/impexp/Classes/ImportExport.php line 986 
 # PHP Warning: Trying to access array offset on value of type null in /typo3/sysext/impexp/Classes/ImportExport.php line 987 
 # PHP Warning: Undefined array key "msg" in /typo3/sysext/impexp/Classes/ImportExport.php line 571 
 # PHP Warning: Undefined array key "pages:1" in /typo3/sysext/impexp/Classes/ImportExport.php line 1095 
 # PHP Warning: Undefined array key "2487ce518ed56d22f20f259928ff43f1" in /typo3/sysext/impexp/Classes/ImportExport.php line 1320 
 # PHP Warning: Trying to access array offset on value of type null in /typo3/sysext/impexp/Classes/ImportExport.php line 1320 
 # PHP Warning: Undefined array key 0 in /typo3/sysext/impexp/Classes/ImportExport.php line 542 
 # PHP Warning: Undefined array key "title" in /typo3/sysext/impexp/Classes/ImportExport.php line 989 
 # PHP Warning: Undefined array key 123456789 in /typo3/sysext/impexp/Classes/ImportExport.php line 737 
 # PHP Warning: Undefined array key "RTE_ORIG_ID" in /typo3/sysext/impexp/Classes/ImportExport.php line 739 
 # PHP Warning: Uninitialized string offset 0 in /typo3/sysext/core/Classes/Resource/StorageRepository.php line 400 
 # PHP Warning: Undefined array key "RTE_ORIG_ID" in /typo3/sysext/impexp/Classes/ImportExport.php line 775 
 # PHP Warning: Array to string conversion in /typo3/sysext/impexp/Classes/Import.php line 273 
 # PHP Warning: Undefined array key "sys_file" in /typo3/sysext/impexp/Classes/Import.php line 691 
 # PHP Warning: Undefined array key "files" in /typo3/sysext/impexp/Classes/Export.php line 1175 
 # PHP Warning: Undefined array key "files_fal" in /typo3/sysext/impexp/Classes/Export.php line 1177 
 # PHP Warning: Undefined array key "pages:1" in /typo3/sysext/impexp/Classes/Import.php line 967 
 # PHP Warning: Undefined array key "pages:2" in /typo3/sysext/impexp/Classes/Import.php line 815 
 # PHP Warning: Undefined array key 0 in /typo3/sysext/impexp/Classes/Import.php line 725 
 # PHP Warning: Trying to access array offset on value of type null in /typo3/sysext/impexp/Classes/Import.php line 725 
 # PHP Warning: Undefined array key "files_fal" in /typo3/sysext/impexp/Classes/Export.php line 1177 
 # PHP Warning: Undefined array key 0 in /typo3/sysext/impexp/Classes/Import.php line 727 
 # PHP Warning: Trying to access array offset on value of type null in /typo3/sysext/impexp/Classes/Import.php line 728

Back