Snapin Error in PHP
-
After Updating my Fog to 7522 i cant edit my Snapins.
Everything else is working.
[Mon May 09 11:45:15.942659 2016] [:error] [pid 5157] [client 10.63.0.182:55616] PHP Fatal error: Call to a member function get() on null in /var/www/html/fog/lib/pages/snapinmanagementpage.class.php on line 298, referer: http://10.128.0.128/fog/management/index.php?node=snapin&sub=edit&id=7
[Mon May 09 13:06:44.025730 2016] [:error] [pid 5130] [client 10.63.0.182:60565] PHP Fatal error: Call to a member function get() on null in /var/www/html/fog/lib/pages/snapinmanagementpage.class.php on line 298, referer: http://10.128.0.128/fog/management/index.php?node=snapin&sub=edit&id=7
root@fogserver:~/fogproject/bin# -
Please update and see if this issue still exists? I’m unable to replicate the problem on 7535.
-
Hello,
i have got a similar problem. When I try to add a new snapin i get the following PHP-Error:
Fatal error: Call to a member function save() on null in /var/www/fog/lib/pages/snapinmanagementpage.class.php on line 161.As i am moving to a new server, i did a fresh installation from svn on ubuntu server 14.04, FOG version ist 7575.
Importing clients and pushing / pulling an image is working. -
@michael_f What version of php are you running?
php -v
-
@Tom-Elliott
I’m also seeing this from a new install via git yesterday. I don’t recall the version but I just updated and still see it at version 7577.[Wed May 11 08:49:25 2016] [error] [client X.X.X.X] PHP Fatal error: Call to a member function save() on null in /var/www/html/fog/lib/pages/snapinmanagementpage.class.php on line 161, referer: http://myfogserver/fog/management/index.php?node=snapin&sub=add
PHP 5.6.21 (cli) (built: Apr 28 2016 07:47:46)
Copyright 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright 1998-2016 Zend Technologies
[root@fog2 bin]# -
@networkguy Found the issue and was able to replicate.
Issue is now fixed. Thanks all for reporting.
-
@Tom-Elliott
Updated and works like a charm. Thank you very much.I’ve been away from the FOG project a long time(0.29) and happy to be back; you and the community have made some awesome improvements. Support is top notch. Thanks again for your efforts!
-
@Tom-Elliott Thank you!