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

    Error 500 on "Add Snapin" after update to latest dev-branch and PHP 8

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    2
    3
    353
    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.
    • Chris WhiteleyC
      Chris Whiteley
      last edited by

      I am getting the following error below in the Apache2 logs after doing an update to dev-branch (1.5.9.243) and PHP8.2.3 update on Debain 11

      [proxy_fcgi:error] [pid 1134] [client 10.XX.XXX.XX:54908] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught TypeError: preg_grep(): Argument #2 ($array) must be of type array, null given in /var/www/html/fog/lib/fog/storagenode.class.php:230\nStack trace:\n#0 /var/www/html/fog/lib/fog/storagenode.class.php(230): preg_grep()\n#1 /var/www/html/fog/lib/fog/storagenode.class.php(243): StorageNode->_getData()\n#2 /var/www/html/fog/lib/fog/storagenode.class.php(129): StorageNode->getSnapinfiles()\n#3 /var/www/html/fog/lib/pages/snapinmanagementpage.class.php(466): StorageNode->get()\n#4 /var/www/html/fog/lib/fog/fogpagemanager.class.php(220): SnapinManagementPage->add()\n#5 /var/www/html/fog/management/index.php(58): FOGPageManager->render()\n#6 {main}\n  thrown in /var/www/html/fog/lib/fog/storagenode.class.php on line 230', referer: http://fog/fog/management/index.php?node=snapin
      

      I am curious what I need to do to fix that.

      Thanks!

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by Sebastian Roth

        @Chris-Whiteley This is known and fixed in the latest version - really latest dev-branch as well as the latest official release 1.5.10 that came out a few days ago.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        Chris WhiteleyC 1 Reply Last reply Reply Quote 1
        • [[undefined-on, S Sebastian Roth, ]]
        • Chris WhiteleyC
          Chris Whiteley @Sebastian Roth
          last edited by

          @Sebastian-Roth Thanks!

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

          277

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project