Invalid argument supplied for foreach() in drupal_array_merge_deep_array() (line 2013 of ../includes/bootstrap.inc)

Hello,
I'm getting the following message.

Warning: Invalid argument supplied for foreach() in drupal_array_merge_deep_array() (line 2013 of /public_html/includes/bootstrap.inc)

I don't understand what is wrong. Hope somebody can help me.

thanks in advance.

 

How to access a node by password/code?

I am looking for the most basic node access by code.

If an anonymous or registered users attempts to access a node, they must enter a small code set by admin. If entered the node will show if not it shows the code form.

Any suggestions on how this might be accomplished? I tried the node access password module but it is a little more complex than i need.

Add activity to login button

hi,

I need to execute some actions when the login button is pressed, but I can't find the location where I should insert the required code.
Can anybody help me?

Module Installer Broken

I got this error once trying to "Install (a module) from a URL":

Warning: fileowner() [function.fileowner]: stat failed for temporary://update_YLGRAK in update_manager_local_transfers_allowed() (line 912 of /home2/rloaderb/public_html/scooterx3/modules/update/update.manager.inc).

User login block will not display

I've spent several hours today trying to figure out why the user login block will not show up on my pages. Let me clarify...I have the block set to display on the front page only and I have it enabled for all users, including anonymous. This is not the only block that will not display on my pages, but the most important one at this point. I am using the Aberdeen theme and also using the LoginToboggan module. However this was also a problem before even installing this module. I have checked permissions and roles over and over and no go.

How get Location Submit to populate Lat / Long

On a form I have that requests a location, I need it to populate the Latitude Longitude fields as well. I'm using the function google_geocode_location($location = array()) (from location module) to get the coordinates, but don't know how to get them to either

  1. Be Inserted at the Same Time (ideal solution)
  2. Be able to update after the insert -- I can't figure out how to examine the record and get the LID after the insert -- only have the info before the insert

The code I'm working with is below. I'm weeding out some unrelated code so I apologize if this has any gaping mistakes, I probably just removed too much.


/**
* Implements hook_form_alter
*/
function mobile_location_form_alter(&$form, &$form_state, $form_id){
if(substr($form_id, -10) == '_node_form'){
$form['#submit'][] = 'mobile_location_node_form_submit';
}
}
}

/**
* Handles receiving the coordinates of the location if called for.
* @param unknown_type $form
* @param unknown_type $form_state
*/
function mobile_location_node_form_submit(&$form, &$form_state){

module_load_include('inc', 'location', 'geocoding/google'); // Retrieve Address Geo-Encoder.
mobile_location_locationapi($form_state['values']['location']['und'], 'save');
}

function mobile_location_locationapi(&$obj, $op, $a3 = NULL, $a4 = NULL, $a5 = NULL) {

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x