When we try this

module_load_include('inc', $module, '/drush/' . $module . '.drush')

we get that as a result:

/home/admin/public_html/mysite/web/modules/contrib/commerce/modules/cart//drush/commerce_cart.drush.inc

See the duplicated slash. So, obviously those files are not loaded.

CommentFileSizeAuthor
#2 remove_slash-2897950-2.patch638 bytesdrugan

Comments

drugan created an issue. See original summary.

drugan’s picture

Issue summary: View changes
Status: Active » Needs review
StatusFileSize
new638 bytes

  • 8658432 committed on 8.x-1.x
    Issue #2897950 by drugan: Remove redundant slash from...
bribread22’s picture

@drugan, thanks for your contribution. I've applied your patch and created a new release (8.x-1.0-rc3).

bribread22’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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