webdevops / TYPO3-metaseo

TYPO3 MetaSEO Extension
https://typo3.org/extensions/repository/view/metaseo
GNU General Public License v3.0
38 stars 24 forks source link

8LTS: NullTimeTracker deprecated #403

Closed thomaszbz closed 7 years ago

thomaszbz commented 7 years ago

MetaSEO version: 3.0.0-dev TYPO3 version: 8.7.0 PHP version: 7.0.16

The NullTimeTracker got deprecated.

How to reproduce:

Deprecation log:

10-04-17 19:43: TYPO3\CMS\Core\TimeTracker\NullTimeTracker->start() - since TYPO3 v8, will be removed in v9, use the regular time tracking - require(ypo3_src/typo3/sysext/backend/Resources/Private/Php/backend.php),ypo3_src/typo3/index.php#3 // {closure}#25 // TYPO3\CMS\Backend\Http\Application->run#24 // TYPO3\CMS\Core\Core\Bootstrap->handleRequest#92 // TYPO3\CMS\Backend\Http\AjaxRequestHandler->handleRequest#310 // TYPO3\CMS\Backend\Http\AjaxRequestHandler->dispatch#84 // TYPO3\CMS\Backend\Http\RouteDispatcher->dispatch#166 // call_user_func_array#54 // Metaseo\Metaseo\Controller\Ajax\AbstractPageSeoSimController->simulateAction# // Metaseo\Metaseo\Controller\Ajax\PageSeo\PageTitleController->executeSimulate#41 // Metaseo\Metaseo\Controller\Ajax\PageSeo\PageTitleSimController->getIndex#83 // Metaseo\Metaseo\Controller\Ajax\PageSeo\PageTitleSimController->simulateTitle#69 // Metaseo\Metaseo\DependencyInjection\Utility\FrontendUtility->initTsfe#86 // Metaseo\Metaseo\Utility\FrontendUtility::init#89 // TYPO3\CMS\Core\TimeTracker\NullTimeTracker->start#76 // TYPO3\CMS\Core\Utility\GeneralUtility::logDeprecatedFunction#35 (ypo3_src/typo3/sysext/core/Classes/TimeTracker/NullTimeTracker.php#33)

thomaszbz commented 7 years ago

Migration: Initialize \TYPO3\CMS\Core\TimeTracker\TimeTracker with false as first parameter.

https://docs.typo3.org/typo3cms/extensions/core/8-dev/singlehtml/#deprecation-73185-deprecate-nulltimetracker