Class 'Nng\Nnhelpers\Utilities\Flexform' not found

Issue #11 resolved
Dr. No created an issue

When running the following command from helhum/typo3-console

./vendor/bin/typo3cms database:updateschema '.add,.change'

or

./vendor/bin/typo3cms cache:flush

I get the following error:

    [ Error ]                                                                                                                                                  
    Class 'Nng\Nnhelpers\Utilities\Flexform' not found                                                                                                         


  Exception trace:                                                                                                                                             
  #0 ()                                                                                                                                                        
     typo3conf/ext/nnhelpers/Classes/aliases.php:4                                                                                                             
  #1 require_once()                                                                                                                                            
     typo3conf/ext/nnhelpers/ext_localconf.php:12                                                                                                              
  #2 TYPO3\CMS\Core\Utility\ExtensionManagementUtility::{closure}()                                                                                            
     typo3conf/ext/nnhelpers/ext_localconf.php:51                                                                                                              
  #3 require()                                                                                                                                                 
     typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php:1581                                                                                     
  #4 TYPO3\CMS\Core\Utility\ExtensionManagementUtility::loadSingleExtLocalconfFiles()                                                                          
     typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php:1556                                                                                     
  #5 TYPO3\CMS\Core\Utility\ExtensionManagementUtility::loadExtLocalconf()                                                                                     
     vendor/helhum/typo3-console/Classes/Console/Core/Booting/Scripts.php:122                                                                                  
  #6 Helhum\Typo3Console\Core\Booting\Scripts::initializeExtensionConfiguration()                                                                              
     vendor/helhum/typo3-console/Classes/Console/Core/Booting/Step.php:54                                                                                      
  #7 Helhum\Typo3Console\Core\Booting\Step->__invoke()                                                                                                         
     vendor/helhum/typo3-console/Classes/Console/Core/Booting/Sequence.php:112                                                                                 
  #8 Helhum\Typo3Console\Core\Booting\Sequence->invokeStep()                                                                                                   
     vendor/helhum/typo3-console/Classes/Console/Core/Booting/Sequence.php:94                                                                                  
  #9 Helhum\Typo3Console\Core\Booting\Sequence->invoke()                                                                                                       
     vendor/helhum/typo3-console/Classes/Console/Core/Booting/RunLevel.php:97                                                                                  
  #10 Helhum\Typo3Console\Core\Booting\RunLevel->runSequenceForCommand()                                                                                       
     vendor/helhum/typo3-console/Classes/Console/Core/Kernel.php:135                                                                                           
  #11 Helhum\Typo3Console\Core\Kernel->handle()                                                                                                                
     vendor/helhum/typo3-console/Scripts/typo3-console.php:30                                                                                                  
  #12 {closure}()                                                                                                                                              
     vendor/helhum/typo3-console/Scripts/typo3-console.php:32                                                                                                  
  #13 require()                                                                                                                                                
     vendor/helhum/typo3-console/typo3cms:3    

This happens due to this line in the ext_localconf.php:

require_once($extPath . 'Classes/aliases.php');

and in aliases.php

namespace nn\t3;

class Flexform extends \Nng\Nnhelpers\Utilities\Flexform {}

class TCA extends \Nng\Nnhelpers\Utilities\TCA {}

Is there any way to resolve this?

Comments (3)

  1. Log in to comment