Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
Hi I wonder if someone can help me (i hope im posting in the correct forum). I have Drupal up and running on a customer website and all is working fine apart from a particular element of the site.
They need to be able to display the balance of points in a customer’s account These come from another database (Access 97 I know it is out of date but they cannot afford to update at the moment) I have managed to import the users and their information but I need to update the current points field on a regular basis.
I upgraded my site from D6 to D7. After the upgrade, I got the error message that many other people seem to be getting:
Warning: array_flip(): Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->load() (line 178 of /xxx/xxx/xxx/code/includes/entity.inc
I have searched all over the web and the drupal forums and this message seems to occur due to improper
xxx_load(array(..))
functions left over in modules or drupal code (see this stackexchange link).
I searched for this string and found it in several places in my D7 modules and code see below: includes/form.inc: * $node = node_load(array('uid' => $uid, 'type' => $type));
modules/trigger/trigger.module: return node_load(array('nid' => arg(1)));
sites/all/modules/rules/modules/path.eval.inc: elseif (!path_load(array('alias' => $alias, 'language' => $langcode))) {
sites/all/modules/rules/modules/path.eval.inc: if ($path = path_load(array('source' => $source, 'language' => $langcode))) {
sites/all/modules/rules/modules/path.eval.inc: if (($path = path_load(array('alias' => $alias, 'language' => $langcode))) && (empty($node->path['pid']) || $node->path['pid'] != $path['pid'])) {
I've searched for a long time, but I can't find anything that helps.
Basically, when a user is created and when I check the "notify user of new account" box and save the user, I go to a white screen with plain text saying I have to provide at least one recipient email address. I checked the logs and the email doesn't have a "to" address. Also, when I do login with the new user, the site has a prompt stating that I need to provide a valid email because there isn't one for that user.