Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.
This issue is not coming from Jomsocial, it can be caused by php version or 3rd party issue, please you try upgrade your Jomsocial from version 5.4.45 to 5.6.x or 7.1.x