Jump to content

unable to enter back office


kumarana

Recommended Posts

Hello everybody

I am trying to install ps1.7.2.4 on Lamp ( Php7.2.1, mysql 5.4 apache2)  initially i could enter back office. but after that i am getting a large number of errors. one sample is attached below. Pls some one help me configure my shop back office on localhost. i do not know anything about programming  pls give simple and single solution if possible.

Thanks in advance.

ContextErrorException in ObjectModel.php line 509:Warning: count(): Parameter must be an array or an object that implements Countable

  1. in ObjectModel.php line 509
  2. at ErrorHandler->handleError('2', 'count(): Parameter must be an array or an object that implements Countable', '/var/www/preston.com/public_html/prestashop_1.7.2.4/classes/ObjectModel.php', '509', array('auto_date' => true, 'null_values' => false, 'id_shop_list' => array('1'))) in ObjectModel.php line 509
  3. at ObjectModelCore->add(true, false) in Product.php line 545
  4. at ProductCore->add(true, false) in ObjectModel.php line 476
  5. at ObjectModelCore->save() in ProductController.php line 367
  6. at ProductController->newAction()
  7. at call_user_func_array(array(object(ProductController), 'newAction'), array()) in bootstrap.php.cache line 3246
  8. at HttpKernel->handleRaw(object(Request), '1') in bootstrap.php.cache line 3205
  9. at HttpKernel->handle(object(Request), '1', false) in bootstrap.php.cache line 3359
  10. at ContainerAwareHttpKernel->handle(object(Request), '1', false) in bootstrap.php.cache line 2562
  11. at Kernel->handle(object(Request), '1', false) in index.php line 86
Link to comment
Share on other sites

  • 2 years later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...