Error message within page loads

Posted March 21, 2018 1.6k views

I am getting an error message after migrating my site from to digitalocean. I used the plug in ‘All-in-One WP Migration’ to make the move from providers.

After the Wordpress page loads I see this message
“Warning: count(): Parameter must be an array or an object that implements Countable in /srv/users/serverpilot/apps/arroworthy/public/wp-includes/post-template.php on line 284

My site is: (hosted by digitalocean which has the error message)

My test site is still up: (hosted by which does not have the error message)

1 comment

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Your site currently loads for me without the error message like @jasonjpeters said.

The last time I used that migrator plugin I remember there being post instructions like update your time format twice or something. Be sure to give those a read and go.

You may also need to configure some of the php.ini vars (or whatever it recommends).