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

Exception when Adminpanel is Active #626

Open
h3nn3s opened this issue Jul 27, 2022 · 5 comments
Open

Exception when Adminpanel is Active #626

h3nn3s opened this issue Jul 27, 2022 · 5 comments
Labels

Comments

@h3nn3s
Copy link

h3nn3s commented Jul 27, 2022

I get an exception thrown, when adminpanel is active.

(1/1) #1476107295 TYPO3\CMS\Core\Error\Exception
PHP Runtime Deprecation Notice: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/public/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 5476

Steps to reproduce:
I use latest version of EXT:t3kit to have a look at the "new" frontend editing. This package requires typo3/cms-adminpanel.
After installing I get the above mentioned exception. This one disapears directly after removing adminpanel from installation and everything is working fine.

@mabolek
Copy link
Collaborator

mabolek commented Jul 27, 2022

Hi @h3nn3s!

Thank you for reporting this issue.

Please let us know which version of TYPO3, Frontend Editing, and PHP your are running. Also, are you testing this on a specific page in the default t3kit page tree or does it appear everywhere, all the time?

I did a quick test of frontend_editing v3.0.25 and TYPO3 v11.5.12 with PHP 8.0, and I was unfortunately not able to reproduce your issue. (I tried uninstalling and installing typo3/cms-adminpanel as well.)

@h3nn3s
Copy link
Author

h3nn3s commented Jul 28, 2022

Hi @mabolek

the issue is caused by PHP 8.1 - I rechecked it with PHP8.0, there everything is fine.

TYPO3: 11.5.12
PHP: 8.1
frontend_editing: 3.0.25
t3kit: dev-master

@mabolek
Copy link
Collaborator

mabolek commented Jul 28, 2022

Aha! There we probably have it, then! Thanks for checking.

@mabolek mabolek added the bug label Jul 28, 2022
@josefglatz
Copy link

I can also reproduce the problem with PHP 8.1

@josefglatz
Copy link

The bug also appear if no t3_kit is used

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

No branches or pull requests

3 participants