Bootstrap Package PHP Runtime Deprecation Notice

1.1k views Asked by At

Despite the wonderful announcement of the Official Introduction Package RealUrl is not working and the bootstrap package is generating these messages:

Core: Error handler (FE): PHP Runtime Deprecation Notice: Non-static method BK2K\BootstrapPackage\Service\CompileService::getVariablesFromConstants() should not be called statically, assuming $this from incompatible context in /Applications/XAMPP/xamppfiles/htdocs/cms/typo3conf/ext/bootstrap_package/Classes/Service/CompileService.php line 52

Core: Error handler (FE): PHP Runtime Deprecation Notice: Non-static method BK2K\BootstrapPackage\Service\CompileService::getCompiledFile() should not be called statically, assuming $this from incompatible context in /Applications/XAMPP/xamppfiles/htdocs/cms/typo3conf/ext/bootstrap_package/Classes/Hooks/PageRendererRender/PreProcessHook.php line 47

Other information

  • Mac OS X Yosemite
  • XAMPP for Mac OS X
  • php 5.6.3
  • TYPO3 6.2.6
  • Bootstrap package 6.2.6
  • The official Introduction Package 2.0.0
  • RealUrl 1.12.8
  • .htacces rewriteEngine On
1

There are 1 answers

3
lorenz On

You are using PHP 5.6 and obviously the extension "bootstrap_package" is not yet ready for PHP 5.6. Until PHP 5.6, calling a non-static method statically worked without a deprecation notice, but in PHP 5.6 this is deprecated and throws a warning, see http://php.net/manual/de/migration56.deprecated.php.

Since it's only a deprecation warning, this is no problem ATM and I guess it will be fixed by the extension developer.

RealURL "is not working" is not very helpful description. Please give more information about what's happening or not.