Bug #83500

Core: Error handler (FE): PHP Warning: count(): Parameter must be an array or an object that implements Countable in /typo3/sysext/frontend/Classes/View/AdminPanelView.php line 729

Added by Alexander Averbuch about 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Frontend
Target version:
Start date:
2018-01-06
Due date:
% Done:

0%

TYPO3 Version:
9
PHP Version:
7.2
Tags:
adminpanel
Complexity:
Is Regression:
Sprint Focus:

Description

I receive this error on the admin panel.

typo3-adminpannel-error.png View (74.1 KB) Alexander Averbuch, 2018-01-06 22:41


Related issues

Duplicates TYPO3 Core - Bug #83345: AdminPanelView tries to count null value Closed 2017-12-15

History

#1 Updated by Alexander Averbuch about 2 years ago

I receive this error on the admin panel.

This line causes the error

$tableArr[] = [$this->extGetLL('info_countUserInt'), count($tsfe->config['INTincScript'])];

#2 Updated by Steffen Kamper about 2 years ago

Please add information about your config and how to reproduce

#3 Updated by Alexander Averbuch about 2 years ago

I installed TYPO3 9.0.0 with composer.
Then I installed the preconfigured distribution (Introduction)
I'm logged in as admin in the backend, call the start page, and find the error in the log.
When I call any other page, can I find this entry in the log.
The admin panel is deactivated (the red switch)

The problem doesn't exist in 9.1.0-dev

#4 Updated by Georg Ringer about 2 years ago

  • Status changed from New to Resolved

this is a duplciate of #83345. therefore I am closing it. line looks now

$tableArr[] = [$this->extGetLL('info_countUserInt'), count($tsfe->config['INTincScript'] ?? [])];

#5 Updated by Georg Ringer about 2 years ago

  • Duplicates Bug #83345: AdminPanelView tries to count null value added

#6 Updated by Benni Mack over 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF