mautic / mautic/plugin-messagebird
Error mautic.CRITICAL: Uncaught PHP Exception
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 1
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
[2018-08-22 12:35:51] mautic.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalErrorException: "Compile Error: Declaration of MauticPlugin\MauticMessageBirdBundle\Services\MessageBirdApi::sendSms($number, $content) must be compatible with Mautic\SmsBundle\Api\AbstractSmsApi::sendSms(Mautic\LeadBundle\Entity\Lead $lead, $content)" at /var/www/html/plugins/MauticMessageBirdBundle/Services/MessageBirdApi.php line 0 {"exception":"[object] (Symfony\Component\Debug\Exception\FatalErrorException(code: 0): Compile Error: Declaration of MauticPlugin\MauticMessageBirdBundle\Services\MessageBirdApi::sendSms($number, $content) must be compatible with Mautic\SmsBundle\Api\AbstractSmsApi::sendSms(Mautic\LeadBundle\Entity\Lead $lead, $content) at /var/www/html/plugins/MauticMessageBirdBundle/Services/MessageBirdApi.php:0)"} []
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in plugins/MauticMessageBirdBundle/Services/MessageBirdApi.php at sendSms($number, $content), then compare it with Mautic\SmsBundle\Api\AbstractSmsApi::sendSms(Mautic\LeadBundle\Entity\Lead $lead, $content). Done means the MessageBird implementation is compatible with the abstract method and the reported compile error no longer occurs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100