Steps to reproduce error
- Update Drupal core to 7.50
- Run update.php
- The following two error messages are return
User warning: The following module is missing from the file system: working_times. In order to fix this, put the module back in its original location. For more information, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1128 of [***]/includes/bootstrap.inc).
User warning: The following module is missing from the file system: reference_dialog. In order to fix this, put the module back in its original location. For more information, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1128 of [***]/includes/bootstrap.inc).
We tried all the options suggested at https://www.drupal.org/node/2487215
But none worked. Including:
- https://www.drupal.org/project/module_missing_message_fixer
- https://www.drupal.org/project/missing_module
- drush sql-query "DELETE from system where name = 'working_times' AND type = 'module';"
- drush sql-query "DELETE from system where name = 'reference_dialog' AND type = 'module';"
Could those two error messages be created by a bug in ERPAL module?
Any volunteers to investigate? We would be happy to test patches.
Using ERPAL 7.x-2.x-dev from 2016-Sep-21
Comment | File | Size | Author |
---|---|---|---|
#4 | 2805779-4.patch | 1.19 KB | chipway |
Comments
Comment #2
FrancewhoaWe did some digging on this. It seems to be a bug in ERPAL. Maybe an old ERPAL module was move or remove? But the database was not updated accordingly?
The following ERPAL files are related to the missing
reference_dialog
moduleThe following ERPAL files are related to the missing
working_times
moduleComment #3
chipway CreditAttribution: chipway at Chipway commentedHi François,
To remove the 2 "following module is missing" error messages:
1) Issue for "reference_dialog" is in profiles/erpal/modules/contrib/references_dialog/references_dialog.module 7.x-1.0-beta1
line 546: 'path' => drupal_get_path('module', 'reference_dialog') . '/views',
fixed in 7.x-1.0-beta2
=> drush up references_dialog
2) For working_times,
profiles/erpal/modules/erpal/erpal_employee/erpal_employee_helper/inc/working_times.entity.inc
line 227: module_load_include('inc', 'working_times', 'working_times.configurable');
where 'working_times' is not a module
module_load_include('inc', 'my_module', 'includes/my_module.include1');
I didn't found any "working_times.inc" or "configurable.inc", so I commented line 227 until new advice.
Comment #4
chipway CreditAttribution: chipway at Chipway commentedHere is a patch that does the 2 quick fixes explained in #3.
1) updated version required for "references_dialog" module.
2) commented line 227 of working_times.entity.inc.
Comment #5
FrancewhoaMerci chipway :)
We'll test that patch and post result here
Comment #6
FrancewhoaAbout the patch in this comment #4 above. The Ubertus team is confirming that it worked with both Drupal core 7.50 and 7.58. Commenting out the line 227 "working_times.entity.inc" file resolved the challenge with the error about "working_times".
Merci encore chipway :) / Thank you again chipway :)