TYPO3 12 - No Content Object Definition Found at TypoScript Path for Custom Extension

I recently migrated a TYPO3 extension from version 9 to TYPO3 12. The extension worked perfectly in TYPO3 9, but after the upgrade, I’m encountering the following error:

(1/1) #1540246570 TYPO3Fluid\Fluid\Core\ViewHelper\Exception

No Content Object definition found at TypoScript object path “tt_content.list.20.globalnetwork_simple”

The extension is designed to display locations on the website, allowing users to click on a location to view specific details. It seems like there’s an issue with the TypoScript configuration for the plugin.

Does anyone have any suggestions on how to resolve this issue or update the configuration to work with TYPO3 12?


image

I also find a configuration like this in a file

Check out where your extension registers the plugin, usually via “ExtensionUtility::registerPlugin()”. Preferrably this is done inside Configuration/TCA/Overrides/tt_content.php, but previously also in ext_localconf.php or even ext_tables.php

Previously (older TYPO3 versions) the content object definitions there should also have placed a call like:

ExtensionManagementUtility::addPItoST43()

there. This one is/was responsible to register the TypoScript content object definition of any “plugin” (“Content element” more properly). You need to do that either manually via TypoScript, or with that (recently deprecated) addPiToST43 method (see Deprecation: #102821 - ExtensionManagementUtility::addPItoST43() — TYPO3 Core Changelog main documentation)

Maybe you already have migrated the typoscript manually but are only missing to include the typoscript in your template record? Check your typoscript module to see if all the files where you may define that in your extension is really loaded.

HTH!

I have registered the plugin in the ext_tables.php

and inside the Configuration/TCA/Overrides/tt_content.php

Also when in check in the Included TypoScript in the typo3 12 backend I am not able to find the mentioned extension

where in the old website the mentioned [tx_globalnetwork_simple] and [tx_globalnetwork_all]
are present

why it is not showing in the new typo3 12. is there anything that need to be done from backend to fix it.

Please check the “Site Management > TypoScript” area. Pick your root page. Use “Edit SypoScript Record” dropdown on the top frame. Then click on “Edit the whole TypoScript record”:

Then go to tab “advanced options” in the next screen, scroll down. There make sure that “include_static_file” includes your extension:

Only when this is properly activated the setup.typoscript of your extension should be loaded.

Also note that you do not seem to use AddPiToST43, so you need to write TypoScript to register the Content Object definition. Or utilize the AddPiToST43 call for now (and adjust with TYPO3v14).

Thank you for the information. I have included the TypoScript record in the advanced options.

still I am getting the same error in the frontend page

(1/1) #1540246570 TYPO3Fluid\Fluid\Core\ViewHelper\Exception

No Content Object definition found at TypoScript object path “tt_content.list.20.globalnetwork_simple”

I am new to the typo3. is there any documentation for doing this.

In your setup.typoscript, there is no definition of tt_content.list.20.globalnetwork_simple.

You can provide it either manually or use AddPiToST43.

Create a custom content element type — TYPO3 Explained main documentation should guide you on the needed TypoScript definitions of content elements / plugins.

HTH!

But in the Included TypoScript Configuration


as mentioned in the screenshot there is a DynamicContent.typoscript is included and in that file there is a definition of tt_content.list.20

if I removed the marked code in the screenshot the page will load with the header and footer.
the center area is coming based on the marked code.

But your definition only sets tt_content.list.20 = CONTENT

It might be missing tt_content.list.20.globalnetwork_simple as a prior index. But I honestly don’t know the ‘CONTENT’ syntax here, if that should create the needed structure. But it seems it doesn’t.

In the old code I don’t find tt_content.list.20.globalnetwork_simple is set or mentioned. is that a new requirement comes in the latest version of typo3.

did you use AddPiToST43 n the earlier version?

No there is no reference of AddPiToST43 in the old code.

also on the admin side, the plugin part is working fine.

I tried by remove the extension and then also the same error is showing. so I think the issue is with the frontend configuration, is there any think needs to be added to load the frontend?

in the typo3 version 9


i found some settings in the WEB > TEMPLATE to Include static (from extensions)
as per the screenshot.

so when it comes to typo3 12 ,is there such settings? in typo3 12 I don’t find a TEMPLATE menu in the sidebar. also don’t find this button Edit the whole template record