{"type":"rich","version":"1.0","provider_name":"phorkie","provider_url":"https:\/\/p.cweiske.de\/","title":"TYPO3v11: Class TYPO3\\CMS\\Extbase\\Object\\ObjectManager is deprecated","author_name":"Christian Weiske","cache_age":86400,"width":900,"height":900,"html":"<!-- embedding all files of https:\/\/p.cweiske.de\/899 -->\n<link rel=\"stylesheet\" href=\"https:\/\/p.cweiske.de\/css\/embed.css\"\/>\n<div class=\"phork\" id=\"899\">\n    <div class=\"phork-file\">\n <div class=\"phork-content\">\n  \n<div class=\"document\">\n\n\n<p>When upgrading a TYPO3 from v10 to v11 I got the following deprecation notice:<\/p>\n<blockquote>\nTYPO3 Deprecation Notice:\nClass TYPO3CMSExtbaseObjectObjectManager is deprecated and will be removed in TYPO3 12.0\nin \/var\/www\/typo3\/public\/typo3\/sysext\/extbase\/Classes\/Object\/ObjectManager.php line 104<\/blockquote>\n<p>The error stemmed from sysext\/fluid - it could not load ViewHelpers via the symfony dependency container.<\/p>\n<p>The solution was to define the namespace prefix in our extension's <tt class=\"docutils literal\">Configuration\/Services.yaml<\/tt>:<\/p>\n<pre class=\"literal-block\">\nVendor\\Extname\\:\n  resource: '..\/Classes\/*'\n<\/pre>\n<\/div>\n\n <\/div>\n <div class=\"phork-meta\">\n  <a href=\"https:\/\/p.cweiske.de\/899\/rev-raw\/083ad228587f5758c902eaed89507bf82afe1f7b\/README.rst\" style=\"float: right\">view raw source<\/a>\n  <a href=\"https:\/\/p.cweiske.de\/899#README.rst\">README.rst<\/a>\n <\/div>\n<\/div>\n<\/div>\n"}
