• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
Bagisto Forum

Bagisto

  • Register
  • Login
  • Search
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups

having error "Please install the Algolia client: algolia/algoliasearch-client-php." while adding new product.

Bug Report
10
19
6.5k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R
    Rafia last edited by 25 Jul 2022, 16:50

    hi, i'm new to bagisto, having error while adding new product.

    7493b479-3b11-4ff9-a3b5-4d8b8b91084f-image.png

    1 Reply Last reply Reply Quote 0
    • sanjay-webkul
      sanjay-webkul last edited by 26 Jul 2022, 04:58

      Hi there, please take a reference from Here for fix this issue.

      R 1 Reply Last reply 27 Jul 2022, 10:40 Reply Quote 0
      • R
        rabol last edited by 26 Jul 2022, 16:39

        Hi

        I have the same issue.

        in my .env I don't have a SCOUT_DRIVER entry, so it should be null and therefor no 'exception', or ?

        1 Reply Last reply Reply Quote 0
        • sanjay-webkul
          sanjay-webkul last edited by 27 Jul 2022, 05:16

          @rabol
          Please set the Null for SCOUT_DRIVER on scout.php file

          Please take a reference from Here

          D 1 Reply Last reply 13 Aug 2022, 16:03 Reply Quote 0
          • R
            Rafia @sanjay-webkul last edited by 27 Jul 2022, 10:40

            @sanjay-webkul bug remove 👍

            1 Reply Last reply Reply Quote 0
            • sanjay-webkul
              sanjay-webkul last edited by 27 Jul 2022, 12:11

              Hi There,

              Thanks for the update.
              Also, if you like our support, you may give us the review here:- https://www.trustpilot.com/review/bagisto.com
              That would be grateful for us.

              Thanks

              1 Reply Last reply Reply Quote 0
              • 17 days later
              • D
                denish @sanjay-webkul last edited by 13 Aug 2022, 16:03

                @sanjay-webkul

                after setting

                'driver' => env('SCOUT_DRIVER', null),

                i am getting the same error. "Please install the Algolia client: algolia/algoliasearch-client-php." while adding new product.

                What do i do ?

                1 Reply Last reply Reply Quote 0
                • sanjay-webkul
                  sanjay-webkul last edited by 17 Aug 2022, 08:34

                  Please run the given commands and clear your browser history.

                  php artisan optimize:clear
                  php artisan config:cache
                  php artisan route:cache
                  1 Reply Last reply Reply Quote 0
                  • 23 days later
                  • S
                    sebastianbt last edited by 8 Sept 2022, 22:21

                    Hi, i am new to Bagisto too. I am testing using wampserver but i am getting this same error, here you can see it: https://flareapp.io/share/pPvW2oZ7#F75

                    y have run this recomended comands by @sanjay-webkul and restart apache :
                    php artisan optimize:clear
                    php artisan config:cache
                    php artisan route:cache

                    i am still getting the error.

                    This is my scout.php file.

                    <?php
                    
                    return [
                    
                        /*
                        |--------------------------------------------------------------------------
                        | Default Search Engine
                        |--------------------------------------------------------------------------
                        |
                        | This option controls the default search connection that gets used while
                        | using Laravel Scout. This connection is used when syncing all models
                        | to the search service. You should adjust this based on your needs.
                        |
                        | Supported: "algolia", "null"
                        |
                        */
                    
                        'driver' => env('SCOUT_DRIVER', null),
                    
                        /*
                        |--------------------------------------------------------------------------
                        | Index Prefix
                        |--------------------------------------------------------------------------
                        |
                        | Here you may specify a prefix that will be applied to all search index
                        | names used by Scout. This prefix may be useful if you have multiple
                        | "tenants" or applications sharing the same search infrastructure.
                        |
                        */
                    
                        'prefix' => env('SCOUT_PREFIX', ''),
                    
                        /*
                        |--------------------------------------------------------------------------
                        | Queue Data Syncing
                        |--------------------------------------------------------------------------
                        |
                        | This option allows you to control if the operations that sync your data
                        | with your search engines are queued. When this is set to "true" then
                        | all automatic data syncing will get queued for better performance.
                        |
                        */
                    
                        'queue' => env('SCOUT_QUEUE', false),
                    
                        /*
                        |--------------------------------------------------------------------------
                        | Database Transactions
                        |--------------------------------------------------------------------------
                        |
                        | This configuration option determines if your data will only be synced
                        | with your search indexes after every open database transaction has
                        | been committed, thus preventing any discarded data from syncing.
                        |
                        */
                    
                        'after_commit' => false,
                    
                        /*
                        |--------------------------------------------------------------------------
                        | Chunk Sizes
                        |--------------------------------------------------------------------------
                        |
                        | These options allow you to control the maximum chunk size when you are
                        | mass importing data into the search engine. This allows you to fine
                        | tune each of these chunk sizes based on the power of the servers.
                        |
                        */
                    
                        'chunk' => [
                            'searchable' => 500,
                            'unsearchable' => 500,
                        ],
                    
                        /*
                        |--------------------------------------------------------------------------
                        | Soft Deletes
                        |--------------------------------------------------------------------------
                        |
                        | This option allows to control whether to keep soft deleted records in
                        | the search indexes. Maintaining soft deleted records can be useful
                        | if your application still needs to search for the records later.
                        |
                        */
                    
                        'soft_delete' => false,
                    
                        /*
                        |--------------------------------------------------------------------------
                        | Identify User
                        |--------------------------------------------------------------------------
                        |
                        | This option allows you to control whether to notify the search engine
                        | of the user performing the search. This is sometimes useful if the
                        | engine supports any analytics based on this application's users.
                        |
                        | Supported engines: "algolia"
                        |
                        */
                    
                        'identify' => env('SCOUT_IDENTIFY', false),
                    
                        /*
                        |--------------------------------------------------------------------------
                        | Algolia Configuration
                        |--------------------------------------------------------------------------
                        |
                        | Here you may configure your Algolia settings. Algolia is a cloud hosted
                        | search engine which works great with Scout out of the box. Just plug
                        | in your application ID and admin API key to get started searching.
                        |
                        */
                    
                        'algolia' => [
                            'id' => env('ALGOLIA_APP_ID', ''),
                            'secret' => env('ALGOLIA_SECRET', ''),
                        ],
                    
                    ];
                    
                    1 Reply Last reply Reply Quote 0
                    • sanjay-webkul
                      sanjay-webkul last edited by 9 Sept 2022, 08:11

                      Hi there,
                      Which version of bagisto are you using.

                      1 Reply Last reply Reply Quote 0
                      • P
                        paulmariano last edited by 12 Sept 2022, 10:08

                        same problem and the version my bagisto version is 1.4.3

                        1 Reply Last reply Reply Quote 0
                        • 29 days later
                        • D
                          Damidu last edited by 11 Oct 2022, 12:02

                          Same issue for me. I've followed all tips without success.
                          I'm using xampp

                          S 1 Reply Last reply 5 Nov 2022, 09:54 Reply Quote 0
                          • 25 days later
                          • S
                            shagun last edited by 5 Nov 2022, 09:53

                            check by adding -> 'driver' => env('SCOUT_DRIVER'), in scout.php

                            1 Reply Last reply Reply Quote 0
                            • S
                              shagun @Damidu last edited by 5 Nov 2022, 09:54

                              @Damidu check your issue by updating -> 'driver' => env('SCOUT_DRIVER'),

                              in scout.php

                              1 Reply Last reply Reply Quote 0
                              • sanjay-webkul
                                sanjay-webkul last edited by 8 Nov 2022, 06:42

                                Hi there,
                                Please check the SCOUT_DRIVER in below given files.

                                packages/Webkul/Core/src/Config/scout.php
                                config/scout.php

                                1 Reply Last reply Reply Quote 0
                                • sanjay-webkul
                                  sanjay-webkul last edited by 8 Nov 2022, 06:43

                                  If still you are getting the same issue then please let me know.

                                  1 Reply Last reply Reply Quote 0
                                  • 2 months later
                                  • S
                                    softcube last edited by 29 Dec 2022, 11:38

                                    @sanjay-webkul I have done the changes in scout.php as you have suggested but the issue still I am facing. I have used Bagisto version 1.4.5

                                    1 Reply Last reply Reply Quote 0
                                    • sanjay-webkul
                                      sanjay-webkul last edited by 29 Dec 2022, 11:53

                                      Hi there,
                                      Please raise a support ticket Here.
                                      I need to check on your instance, because i am not getting this issue in our v1.4.5.

                                      1 Reply Last reply Reply Quote 0
                                      • about a year later
                                      • B
                                        bacovseen last edited by 1 Apr 2024, 08:20

                                        Hey, I have had the same issue and I solved it by:

                                        'driver' => env('SCOUT_DRIVER', 'null'),
                                        

                                        in

                                        • config/scout.php
                                        • packages/Webkul/Core/src/Config/scout.php

                                        Make sure you do

                                        php artisan config:clear
                                        php artisan optimize:clear
                                        

                                        afterwards

                                        1 Reply Last reply Reply Quote 0
                                        7 out of 19
                                        • First post
                                          7/19
                                          Last post