We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

EE3 control panel shows as blank page

How Do I?

rtixweb's avatar
rtixweb
12 posts
2 years ago
rtixweb's avatar rtixweb

I’ve inherited a very old, very large intranet site running EE 3.3.3. Everything more or less works, except that when I try to go to the control panel, the page comes up completely blank. With debug set to 1 in config.php, I get this:

Warning count(): Parameter must be an array or an object that implements Countable

C:/ee/system/ee/EllisLab/ExpressionEngine/Service/Model/Facade.php, line 64 show details Warning count(): Parameter must be an array or an object that implements Countable

C:/ee/system/ee/legacy/libraries/Cp.php, line 798 show details

However, it should be noted that I get that on EVERY page load, including the ones that work. How can I debug this issue and move forward?

       
Russ K.'s avatar
Russ K.
174 posts
2 years ago
Russ K.'s avatar Russ K.

Are you able to see ANY pages in the CP area? I have heard of this sort of thing when the PHP version has changed. What version of PHP is the site running?

       
rtixweb's avatar
rtixweb
12 posts
2 years ago
rtixweb's avatar rtixweb

I can get into some pages in the cp area, such as: admin.php?/cp/logs/*

The exact URL which does not work is: admin.php?/cp/settings/general

I’m not sure if there are other pages under admin.php?/cp/settings/ that might work, because I can’t see them.

The site is running PHP 7.3.2. Interestingly, I temporarily rolled back to PHP 5.4.45 and the same issue started happening on other admin pages as well.

       
rtixweb's avatar
rtixweb
12 posts
2 years ago
rtixweb's avatar rtixweb

You were right on the money with pointing the finger at PHP, Russ. I rolled back to PHP 7.0.30, and all the control panel pages work now.

       
Russ K.'s avatar
Russ K.
174 posts
2 years ago
Russ K.'s avatar Russ K.

Can you try version 7.4? I know 5.3 is supposed to be the lowest for EE3, and 7.3.2 should work, but you might try it. I just noticed the “countable()”. error… that would be related to php. It could also be a Plugin causing it.

Docs for version 3 are here if you didn’t find them: https://docs.expressionengine.com/v3/

       
Russ K.'s avatar
Russ K.
174 posts
2 years ago
Russ K.'s avatar Russ K.

Cool. Glad that fixed it. You might want to double check all your plugins and see if they are all up to date. But if it’s working for now, you might not want to mess with it until later.

R

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.