Error message within page loads

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)


I do not see the error when loading the site.

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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).