Problem/Motivation
I have used Message Stack a fair bit (i wrote Message Anon module and Search Subscribe module; waiting to get approval to contribute them) - but was on a different project about 6 months ago. On a new project i enabled message notify and then message notify example and i see:
- no example message tpl
- if i go to admin/config/message/message, i get:
TypeError: Argument 3 passed to Drupal\message\MessagePurgePluginManager::purgeSettingsForm() must be of the type array, null given, called in /home/nzenzen/public_html/staging/web/modules/contrib/message/src/Form/MessageSettingsForm.php on line 104 in Drupal\message\MessagePurgePluginManager->purgeSettingsForm() (line 48 of /home/nzenzen/public_html/staging/web/modules/contrib/message/src/MessagePurgePluginManager.php)
- when i disable the module (drush) i get:
../vendor/bin/drush: line 14: 18237 Segmentation fault "${dir}/drush" "$@"
What am i missing here?
Comments
Comment #2
liquidcms commentedand enabling it on my local dev system causes site to crash:
Drupal\Component\Plugin\Exception\PluginNotFoundException: The "message" entity type does not exist. in Drupal\Core\Entity\EntityTypeManager->getDefinition() (line 150 of E:\www\project\web\core\lib\Drupal\Core\Entity\EntityTypeManager.php).
Comment #3
liquidcms commentedhmm.. although, when i enable through the UI.. the entities are built correctly. Just doing this with drush causes the issue reported above (linux server and window dev system).
Comment #4
liquidcms commentedComment #5
liquidcms commentedjust tried on a clean D8 site, with drush, and module installs and uninstalls correctly. So not these modules.. although other modules (many of them) so cleanly install now. So it is some interaction with the site; but still related to message modules somehow.
Comment #6
liquidcms commentedHave it installed on dev system (through UI) but still can't get notify example entities to get built when i install with drush or ui on server; which i think leads to this error:
TypeError: Argument 3 passed to Drupal\message\MessagePurgePluginManager::purgeSettingsForm() must be of the type array, null given, called in /home/nzenzen/public_html/staging/web/modules/contrib/message/src/Form/MessageSettingsForm.php on line 104 in Drupal\message\MessagePurgePluginManager->purgeSettingsForm() (line 48 of /home/nzenzen/public_html/staging/web/modules/contrib/message/src/MessagePurgePluginManager.php)
at admin/config/message/message
at least i seem to be able to cleanly uninstall now on server; without getting segmentation fault.
not sure how to track down why entities aren't being built as there are no errors and it reports that module was installed successfully. maybe i can just manually import them.
Comment #7
liquidcms commentedall sorted out.. ughh.. my bad. I had "config" added in .ignore file that was ignoring recursively; so the config folders for message werent being committed and therefore not added to server install.
odd that drupal doesn't give any error or warning when it cant find config files to install.