Bagisto Forum

    Bagisto

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

    Admin panel doesn't work after restarting server

    General Discussion
    2
    6
    1208
    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.
    • K
      KiwiNFLFan last edited by

      Hi, I have Bagisto deployed on an AWS Ubuntu server. Everything was running fine until I rebooted the server this evening. While the front end of the store still works, as soon as I login to the Admin section, I am greeted with the following screen:
      exception

      The error message is: "Trying to access array offset on value of type null (View: /var/www/NcodeBagisto/packages/Webkul/Admin/src/Resources/views/dashboard/index.blade.php)"

      I have tried clearing the cache, but to no avail. As soon as I login, I am greeted with the above screen.

      I'm not sure what's causing this (since it was working fine before rebooting the server). Any help here would be great!

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

        Hi kiwiNFLFan,
        May I know the below configuration on your server

        PHP Version?
        
        Composer Version?
        
        Bagisto Version?
        
        K 1 Reply Last reply Reply Quote 0
        • K
          KiwiNFLFan @Vaishali Agarwal last edited by

          @Vaishali-Agarwal

          Hi Vaishali,

          Here are the specs you requested.

          PHP version = 7.4.16
          
          Composer version = 2.0.12
          
          Bagisto version = 1.3.1
          

          The application is hosted on an AWS EC2 virtual machine running Ubuntu 20.04.2 LTS (GNU/Linux 5.4.0-1045-aws x86_64). The front end of the store is accessible at https://ncodebkk.ga.

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

            Hi @KiwiNFLFan
            this issue is not due to the restarting server, this bug is already exist in v1.3.1.

            Might you have deleted some purchased product which cause the issue on dashboard.
            You can simply fix this by updating the changes as mention here https://github.com/bagisto/bagisto/pull/4733/files , after that flush the cache and check the error again.

            1 Reply Last reply Reply Quote 0
            • K
              KiwiNFLFan last edited by

              That worked! Thank you so much!

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

                @KiwiNFLFan
                Kindly rate us to improve more with your feedback here https://www.trustpilot.com/review/bagisto.com

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