Support from Acquia helps fund testing for Drupal Acquia logo

Comments

drupov’s picture

Title: Drush alias generation throws "Illegal string offset 'source' page_manager_pathauto.module:117" » Drush alias generation throws "Illegal string offset 'source' page_manager_pathauto.module:117"
Status: Active » Needs review
FileSize
810 bytes

The function _pathauto_existing_alias_data is called inside page_manager_pathauto_ctools_render_alter(), but that is unnecessary as there is already a check with the same function that the path alias doesn't exist a few lines above.

if (($page_manager_process || $drush_task) && !_pathauto_existing_alias_data(current_path())) {

Here's a patch for that.