This is caused by a PHP update whereby function calls have arguements passed by reference i.e the ampersand & this has been depreceated for a long time but only recently has PHP dropped support for it entirely.
FOG contains the &$tmp variable in the tasks.confirm.include.php file, therefore you will need to change it to $tmp in order to be able to create tasks. To do this perform the following actions:
- Edit /var/www/fog/management/includes/tasks.confirm.include.php search for ‘&$tmp‘ and replace with ‘$tmp‘ there are around 20 occurances.
$ sudo nano /var/www/fog/management/includes/tasks.confirm.include.php
- In nano use ctrl + w to find ‘&$tmp‘ and then delete the ‘&‘ at each occurance.
- Try your task again and it should work.
Can you improve on any of the tips I’ve discussed here? If you can let me know in the comments.