Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working in TYPO3 10.4.17 #539

Closed
quadronet opened this issue Jun 29, 2021 · 5 comments
Closed

Not working in TYPO3 10.4.17 #539

quadronet opened this issue Jun 29, 2021 · 5 comments

Comments

@quadronet
Copy link

After install the ext, the frontend show this:

Class 'CONTENT' not found
$instance = new $finalClassName(...$constructorArguments);

at TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('CONTENT')
in /var/www/vhosts//typo3_src-10.4.17/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 744
at TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->cObjGetSingle('{$backPid}', null, 'variables.back')
in /var/www/vhosts/typo3_src-10.4.17/typo3/sysext/frontend/Classes/ContentObject/FluidTemplateContentObject.php line 322

@mabolek
Copy link
Collaborator

mabolek commented Jul 1, 2021

Hi @quadronet!

This looks like an issue with one of your Fluid templates. The string {$backPid} is not used in the Frontend Editing code. Maybe it is an error in your fluid syntax? The first argument of cObjGetSingle should be a TypoScript object like "TEXT". https://api.typo3.org/10.4/class_t_y_p_o3_1_1_c_m_s_1_1_frontend_1_1_content_object_1_1_content_object_renderer.html#ad689d96811f080d22546b6594ad3beb1

@clemens7haar
Copy link

Hello, after upgrading from an older frontend_editing version I'm also getting this "Class 'CONTENT' not found" exception on TYPO3 CMS 10.4.18. I'll add a comment when I found out why.

@MattiasNilsson
Copy link
Contributor

@clemens7haar Is this still an issue for you?

@MattiasNilsson
Copy link
Contributor

As this issue have not been reported anymore, it is considered not relevant.

@klodeckl
Copy link

Same here.
#631

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants