Bagisto Forum

    Bagisto

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

    Trying to get property 'allowed_ips' of non-object

    Installing Bagisto
    2
    5
    1566
    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.
    • C
      cmpengineers last edited by

      Hello

      i have installed fresh bagisto 1.2.0

      but this error came up

      [2021-02-01 09:36:20] production.ERROR: Trying to get property 'allowed_ips' of non-object {"exception":"[object] (ErrorException(code: 0): Trying to get property 'allowed_ips' of non-object at /home/forge/matjar.app/packages/Webkul/Core/src/Http/Middleware/CheckForMaintenanceMode.php:59)
      [stacktrace]
      #0 /home/forge/matjar.app/packages/Webkul/Core/src/Http/Middleware/CheckForMaintenanceMode.php(59): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError()
      #1 [internal function]: Webkul\\Core\\Http\\Middleware\\CheckForMaintenanceMode->__construct()
      #2 /home/forge/matjar.app/vendor/laravel/framework/src/Illuminate/Container/Container.php(849): ReflectionClass->newInstanceArgs()
      #3 /home/forge/matjar.app/vendor/laravel/framework/src/Illuminate/Container/Container.php(691): Illuminate\\Container\\Container->build()
      #4 /home/forge/matjar.app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(796): Illuminate\\Container\\Container->resolve()
      #5 /home/forge/matjar.app/vendor/laravel/framework/src/Illuminate/Container/Container.php(637): Illuminate\\Foundation\\Application->resolve()
      #6 /home/forge/matjar.app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(781): Illuminate\\Container\\Container->make()
      #7 /home/forge/matjar.app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(156): Illuminate\\Foundation\\Application->make()
      #8 /home/forge/matjar.app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
      #9 /home/forge/matjar.app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(140): Illuminate\\Pipeline\\Pipeline->then()
      #10 /home/forge/matjar.app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(109): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter()
      #11 /home/forge/matjar.app/public/index.php(74): Illuminate\\Foundation\\Http\\Kernel->handle()
      #12 {main}
      "} 
      

      Best regards

      1 Reply Last reply Reply Quote 0
      • V
        Vaishali Agarwal last edited by

        @cmpengineers
        it seems the migration is not done successfully.
        Kindly run the below command again
        php artisan bagisto:install

        1 Reply Last reply Reply Quote 1
        • C
          cmpengineers last edited by

          @Vaishali-Agarwal

          Hello

          you are right , but it give me another error

          The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths.
          

          Screen Shot 2021-02-01 at 3.24.09 PM.png

          best regards

          1 Reply Last reply Reply Quote 0
          • C
            cmpengineers last edited by

            @Vaishali-Agarwal

            found solution

            php artisan key:generate

            php artisan config:clear

            php artian config:cache

            Thank you very much

            best regards

            1 Reply Last reply Reply Quote 1
            • V
              Vaishali Agarwal last edited by

              @cmpengineers
              follow the solution mention here https://stackoverflow.com/questions/39693312/the-only-supported-ciphers-are-aes-128-cbc-and-aes-256-cbc-with-the-correct-key
              I hope this will resolve the issue.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post