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

Bagisto

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

Illuminate \ Contracts \ Container \ BindingResolutionException Target class [encrypter] does not exist. Previous exceptions Class encrypter does not exist (-1)

Bug Report
3
25
7.0k
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.
  • S
    shanavas last edited by 13 Jul 2020, 10:32

    Showing error while adding a new module. Need Immediate support

    1 Reply Last reply Reply Quote 0
    • V
      Vaishali Agarwal last edited by 13 Jul 2020, 11:30

      Hi @shanavas
      try to run
      php artisan key:generate
      php artisan config:cache

      1 Reply Last reply Reply Quote 0
      • S
        shanavas last edited by 13 Jul 2020, 11:37

        @Vaishali-Agarwal said in Illuminate \ Contracts \ Container \ BindingResolutionException Target class [encrypter] does not exist. Previous exceptions Class encrypter does not exist (-1):

        php artisan config:cache

        ![alt text](12.png image url)

        1 Reply Last reply Reply Quote 0
        • V
          Vaishali Agarwal last edited by 13 Jul 2020, 11:41

          Hi @shanavas
          first disable the Razorpay module from the config/app.php under providers then run

          composer dump-autoload;
          php artisan key:generate;
          php artisan config:cache

          1 Reply Last reply Reply Quote 0
          • S
            shanavas last edited by 13 Jul 2020, 12:08

            @Vaishali-Agarwal said in Illuminate \ Contracts \ Container \ BindingResolutionException Target class [encrypter] does not exist. Previous exceptions Class encrypter does not exist (-1):

            Hi @shanavas
            first disable the Razorpay module from the config/app.php under providers then run
            composer dump-autoload;
            php artisan key:generate;
            php artisan config:cache

            Thanks 🙂

            1 Reply Last reply Reply Quote 0
            • S
              shanavas last edited by 13 Jul 2020, 12:10

              Paymentgateways are enabled in the backend admin panel. But not coming in the front end. I reached to one page checkout. But not coming any pay now button13.png

              1 Reply Last reply Reply Quote 0
              • V
                Vaishali Agarwal last edited by 13 Jul 2020, 12:13

                Hi @shanavas

                1. remove the item from cart then again add an item to the cart
                2. Open network developer toolbar on console before process to the checkout page

                Let me know if their is any Error comes while checkout

                1 Reply Last reply Reply Quote 0
                • S
                  shanavas last edited by 13 Jul 2020, 12:23

                  Same issue 13.png

                  1 Reply Last reply Reply Quote 0
                  • V
                    Vaishali Agarwal last edited by 13 Jul 2020, 12:24

                    @shanavas
                    open the error in network tab, and view response

                    1 Reply Last reply Reply Quote 0
                    • S
                      shanavas last edited by 13 Jul 2020, 12:30

                      issue solved. Duplicate entry of unique key in cart_shipping_rates table . Thank you

                      1 Reply Last reply Reply Quote 0
                      • V
                        Vaishali Agarwal last edited by 13 Jul 2020, 12:32

                        @shanavas
                        Great! 🙂

                        1 Reply Last reply Reply Quote 0
                        • S
                          shanavas last edited by 14 Jul 2020, 04:00

                          Hi

                          While click on razopray payment button, showing something wrong try again late

                          1 Reply Last reply Reply Quote 0
                          • S
                            shanavas last edited by 14 Jul 2020, 04:47

                            I added one razorpay button. How to avoid redirect option to sandbox. I would like to popup in the same page of razorpay. Paypal button is redirecting to razorpay controller. How to fix this issue

                            1 Reply Last reply Reply Quote 0
                            • S
                              shaiv-webkul last edited by shaiv-webkul 14 Jul 2020, 07:11 14 Jul 2020, 07:10

                              If you want popup in the same page then you have to add your js ,

                              Create a blade file
                              put this code into it
                              @if(request()->is('checkout/onepage'))
                              eventBus.$on('after-checkout-payment-section-added', function() {
                              $(document).ready(function() {
                              // your code here
                              });
                              });

                              @endif

                              1 Reply Last reply Reply Quote 0
                              • S
                                shanavas last edited by 14 Jul 2020, 10:12

                                This post is deleted!
                                1 Reply Last reply Reply Quote 0
                                • S
                                  shanavas last edited by 14 Jul 2020, 10:16

                                  How to clear cache in server cpanel ?

                                  1 Reply Last reply Reply Quote 0
                                  • V
                                    Vaishali Agarwal last edited by 14 Jul 2020, 10:41

                                    @shanavas
                                    go to the terminal, hit on project root directory then run php artisan config:cache

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      shanavas last edited by 14 Jul 2020, 10:57

                                      I am using shared server. They have not allowed to access terminal. How can I clear the cache in source code ? Please give me a reply an urgent basis

                                      1 Reply Last reply Reply Quote 0
                                      • V
                                        Vaishali Agarwal last edited by 14 Jul 2020, 11:43

                                        @shanavas
                                        for now their is no other way to clear cache..you have to ask your hosting provider to allow terminal access then you can clear your project cache.

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          shanavas last edited by 16 Jul 2020, 12:56

                                          window.location.href = {{ route('shop.checkout.success') }}; ErrorException (E_ERROR) htmlspecialchars() expects parameter 1 to be string, object given (View:

                                          How to fix this issue - Urgent Help

                                          1 Reply Last reply Reply Quote 0
                                          10 out of 25
                                          • First post
                                            10/25
                                            Last post