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?

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

liquidcms created an issue. See original summary.

liquidcms’s picture

and 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).

liquidcms’s picture

hmm.. 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).

liquidcms’s picture

Title: Example doesn't work, and other issues. » Can't cleanly install/uninstall.
liquidcms’s picture

just 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.

liquidcms’s picture

Have 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.

liquidcms’s picture

Status: Active » Closed (works as designed)

all 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.