There's an typo in hook_menu which results in errors when clearing the cache with drush.

You're using drupal_get_path('module', 'infinite_scroll'); instead of gd_infinite_scroll.

CommentFileSizeAuthor
#2 typo_in_hook_menu_which-2705303-2.patch575 bytesoostie

Comments

Oostie created an issue. See original summary.

oostie’s picture

StatusFileSize
new575 bytes

Attached a patch which fixes this issue.

oostie’s picture

Status: Active » Needs review
albertski’s picture

Status: Needs review » Reviewed & tested by the community

I started seeing errors with this when upgrading to Drupal 7.50.

The following module is missing from the file system: <em class="placeholder">infinite_scroll</em>. In order to fix this, put   [warning]
the module back in its original location. For more information, see <a href="https://www.drupal.org/node/2487215">the
documentation page</a>. bootstrap.inc:1128

Reviewed and applied the patch. Looks good.

castor-designs’s picture

I am trying to apply that patch but am unable to find out how to properly do it.
Tried to use cmd in the folder module but did not work. Thank you for any help.

ptt-homme’s picture

Hey, works just fine, could you please merge it ASAP?

Thanks.

botris’s picture

Priority: Normal » Major

Moving to major as error fires on almost all drush commands, confirming patch works

estoyausente’s picture

Same here, please patch! the patch works correctly.

rekaeps’s picture

Just patched our website. Can confirm it works.

  • delta committed 1267ce5 on 7.x-1.x
    Issue #2705303 by oostie, albertski, ptt-homme, botris, estoyausente,...
delta’s picture

Status: Reviewed & tested by the community » Fixed

Thanks everyone, found some time to push a new release with that fix.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.