The gallery is in the process of being upgraded to work under the latest version of php.