Hi,
I'm installing the module but always get an error:
Fatal error: Class 'EasyBreadcrumbConstants' not found in modules/easy_breadcrumb/easy_breadcrumb.module on line 29. We fixed by changing function easy_breadcrumb_init() to:
function easy_breadcrumb_init() {
+ require_once 'includes/EasyBreadcrumbConstants.inc';
$disable_drupal_default_breadcrumb = variable_get(EasyBreadcrumbConstants::DB_VAR_DISABLE_DEFAULT_DRUPAL_BREADCRUMB, TRUE);
if ($disable_drupal_default_breadcrumb) {
// Sets the Drupal's default breadcrumb as an empty array to disable it.
drupal_set_breadcrumb(array());
}
}
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | easy_breadcrumb-init_fatal_issue.patch | 463 bytes | julien tekrane |
| #6 | fatal_error-1649220-6.patch | 581 bytes | denix |
Comments
Comment #1
theoracleprodigy commentedThanks for the fix! I second this issue. You should make it into a patch.
Comment #2
sonemonu commentedFixed in version 6.x-1.13.
Comment #3
klucid commentedI'm getting the same error in 1.18 on line 22 of includes/easy_breadcrumb.blocks.inc. Any ideas?
Fatal error: Class 'EasyBreadcrumbConstants' not found in sites/all/modules/easy_breadcrumb/includes/easy_breadcrumb.blocks.inc on line 22Thanks in advance!
Comment #4
sonemonu commentedCorrected in version 6.x-1.19.
Greetings!
Comment #5
sonemonu commentedComment #6
denix commentedDear all, only maintainers can reopen. Weird enough I am facing the same issue on 7.x-2.15. Please find here a simple patch based on the code in this issue.
Comment #7
julien tekrane commentedSame issue using 2.17 so I post an updated patch
Comment #8
julien tekrane commented