Our team intervenes within 48 hours, we recommend you submit a public ticket so that other developers can help to fix the issue as soon as possible.

If you purchased the item 6 months ago, please read the Item Support Policy carefully before submitting a ticket.

Note: don’t share item or server credentials on public, use the private option.

Okay
  Public Ticket #2022833
Error when enabling store
Closed

Comments

  •  1
    montor started the conversation

    Hi.

    I was able to install the PHP manager but when I try to enable a new store I get this error message


    An uncaught Exception was encountered

    Type: Error

    Message: Call to a member function result_array() on boolean

    Filename: /var/www/html/application/modules/store/models/Store_model.php

    Line Number: 714

    Backtrace:

    File: /var/www/html/application/modules/store/controllers/Admin.php Line: 126 Function: getStores

    File: /var/www/html/index.php Line: 342 Function: require_once


  • [deleted] replied

    Hello ,

    This due to your server php version , please go to this file application/modules/store/models/Store_model.php and remove the line 712 as below and save the changes :

    $this->db->group_by("store.id_store");
    


  •  1
    montor replied

    It worked great!

    Thanks a lot.

  • [deleted] replied

    perfect , thanks for the update .