greedo Posted July 3, 2020 Share Posted July 3, 2020 (edited) Hi everyone, I have a problem with my local copy of prestashop. I have transfered all files from FTP to my local drive, changed server name, database name etc, made copy of database and changed in ps_shop_url domain and domain_ssl to localhost, physical_uri to folder name. Also I made changes in ps_configuration to localhost, made changes in bootstrap.php (DB_SERVER etc) but I got such an error: (1/1) ContextErrorException Warning: count(): Parameter must be an array or an object that implements Countable Can anyone please help me? Edited July 3, 2020 by greedo (see edit history) Link to comment Share on other sites More sharing options...
JBW Posted July 21, 2020 Share Posted July 21, 2020 Check your PHP versions, they seem to be different. Anyway it's only a warning and will disappear when you switch off debug mode. If styles and images are not loading check you .htaccess - you should re-generate it after server move. Addtionally delete cache (var/cache) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now