Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal Error during install #14

Open
laurarosemisaras opened this issue Jul 25, 2018 · 2 comments
Open

Fatal Error during install #14

laurarosemisaras opened this issue Jul 25, 2018 · 2 comments

Comments

@laurarosemisaras
Copy link

Have CiviCRM 4.7.10 on Civihosting/Wordpress; installed/activated/tested Twilio 1.2.1 extension with SMS messaging-worked well. Installed CiviRules 2.1; downloaded SMS Conversation civicrm-sms-conversation-1.0.0-beta3.zip; placed in extensions folder; decompressed; it showed up in CiviCRM in Extensions. Clicked on install. Received fatal error message -- Mentioned line 15 in the smsconversation.php file:

Fatal error: Call to undefined method Civi::dispatcher()...on line 15

Line 15 of smsconversation.php looks like:
Civi::dispatcher()->addListener('hook_civicrm_post', 'smsconversation_process_inbound',1000);

Disabled and uninstalled extension / deleted files.
Now its back to where it was before we installed SMS Conversation extension.

Any idea what happened? Or how to fix?

@michaelmcandrew
Copy link
Collaborator

hi @ laurarosemisaras,

Thanks for the detailed error report. We are relying on some functionality that was added to CiviCRM in 4.7.19 (https://docs.civicrm.org/dev/en/latest/hooks/setup/symfony/). If you upgrade to 4.7.19 or later, you should be able to use the extension.

I've updated the README.md to better reflect the requirements.

@michaelmcandrew
Copy link
Collaborator

Let me know if this works for you or not and I will close the issue / investigate further as appropriate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants