Coding Error Detected when viewing user profiles

Coding Error Detected when viewing user profiles

by Angel Vander Steeg -
Number of replies: 0

Receive the following error when viewing some student profiles.

Coding error detected, it must be fixed by a programmer: Invalid string identifier. The identifier cannot be empty. Please fix your get_string() call.

More information about this error

Debug info: 32767 
Error code: codingerror
Stack trace:
  • line 6802 of \lib\moodlelib.php: coding_exception thrown
  • line 166 of \lib\myprofilelib.php: call to get_string()
  • line 53 of \user\classes\output\myprofile\manager.php: call to core_myprofile_navigation()
  • line 215 of \user\view.php: call to core_user\output\myprofile\manager::build_tree()
After reading around, it does seem to be from the user profile missing the Country on their profile information page.  Once I added the country for a user I no longer received this error.  The problem is that we have hundreds of users and I don't want to have to manually add that to every profile.  The users are added to Moodle through an external database, the Country is not a required field.  Is there a work around for this that anyone knows of?

Thanks in advance for any help.

Thanks, Angel

Average of ratings: -