Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When I install this module I get the following error: Fatal error: Cannot redeclare drupal_error_levels() in /home/X/public_html/X/includes/errors.inc on line 16.
Comments
Comment #1
jotwede CreditAttribution: jotwede commentedI get this error message when activating and then trying to configure the testing module ...
Comment #2
jajouka CreditAttribution: jajouka commentedany news on this? the module is completely un-usable as far as I can see
Comment #3
johnvSame here, when activating and then trying to configure the testing module.
So @macman, why do you think it is a Calendar error, not a Core Testing error?
Comment #4
As If CreditAttribution: As If commentedIn my case the error was caused by a faulty PHP opcode mechanism.
I just started seeing this error when I tried cloning a display from a view that had nothing to do with calendar. In fact I have had the calendar module installed and working fine for weeks, so I knew it wasn't directly related to this error.
The only thing I had changed recently (beyond simple template mods) was installing XCache on the server. So I turned XCache off, and the error went away.
Comment #5
Stevel CreditAttribution: Stevel commentedThis is clearly not a Calendar bug, as it never declares drupal_error_levels(). As #4 suggests, it's probably caused by a buggy opcode cache.
Comment #7
kenorb CreditAttribution: kenorb commentedRelated: Why I'm getting 'Cannot redeclare drupal_error_levels()' error?