In Moodle App this function catch the error: getPublicConfig()
On my site I got this Error "Call to undefined function get_courses_records()".
The function is defined in the folder: moodle\blocks\...
I can't find where the function is not defined in my code, but otherwise I know where the function is implemented.
Does anyone have a suggestion?