Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Once you select some fields to include your profile the error goes away. It seems that the array is empty and thus the error. For example I get this error because I have no required fields, but once I require something, the error goes away.
warning: in_array(): Wrong datatype for second argument in /home/tracker/public_html/modules/profile.module on line 60 and a look at the code says that it is in reference to variable_get("profile_required_fields", array()); on line 51
Comments
profile bug
Once you select some fields to include your profile the error goes away. It seems that the array is empty and thus the error. For example I get this error because I have no required fields, but once I require something, the error goes away.
warning: in_array(): Wrong datatype for second argument in /home/tracker/public_html/modules/profile.module on line 60 and a look at the code says that it is in reference to variable_get("profile_required_fields", array()); on line 51