For old Moodle sites (*) take into account https://tracker.moodle.org/browse/MDL-65970. If you need help upgrading your site, please consult the Moodle documentation (Upgrade overview, Upgrading, ..).
Kind regards,
Isabel
(*) versions <3.6.7 or <3.7.3