Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Updated: Comment #N
Problem/Motivation
Was getting the below error
Warning: require_once(/home/elijah/websites/loc.example.com/docroot/profiles/all/modules/contrib/environment_indicator/plugins/export_ui/ctools_export_ui_environment_indicator.class.php): failed to open stream: No such file or directory in _registry_check_code() (line 3138 of /home/elijah/websites/loc.example.com/docroot/includes/bootstrap.inc).
Proposed resolution
Patch below that calls the correct file (renames the file according to the standard convention and moves it to the right place). Also added some relevant docblocks etc.
Remaining tasks
User interface changes
API changes
Comment | File | Size | Author |
---|---|---|---|
#1 | environment_indicator-fatal-error-2148253-1.patch | 2.5 KB | Elijah Lynn |
Comments
Comment #1
Elijah LynnComment #2
e0ipsoElijah Lynn I don't seem to be able to reproduce that error. How did you get it?
Comment #3
e0ipsoIs this one possibly related to #2082719: Plugin environment_indicator_ctools_export_ui of plugin type ctools:export_ui points to nonexistent file or #2121125: Bootstrap fatal error: Failed opening reuired ctools_export_ui_environment_indicator.class.php?
Comment #4
Elijah LynnYes, duplicate of both of those.
Comment #5
Elijah LynnOk, we can close this. I think I had some file caching issues with my IDE maybe?
I just updated from 7.x-2.0+2-dev to 2.2 and was getting the issue. But yeah, going back to the commit I made for the update, the code is correct and matches the tag in the EI repo.
I would like to see the class name refactored but that is a separate issue.