xperseguers / t3ext-cloudflare

The Cloudflare TYPO3 extension ensures your TYPO3 website is running optimally on the Cloudflare platform.
https://extensions.typo3.org/extension/cloudflare
GNU General Public License v3.0
7 stars 11 forks source link

Clearing cloudflare cache causes error in Typo3 9.5 #5

Closed JarvisH closed 4 years ago

JarvisH commented 5 years ago

The following error is shown:

Return value of TYPO3\CMS\Backend\Http\RouteDispatcher::dispatch() must implement interface Psr\Http\Message\ResponseInterface, null returned

The purge method in CloudflareToolbarItem needs to accept a response as second parameter and return it for this error to be resolved