mautic / mautic/plugin-messagebird

Error mautic.CRITICAL: Uncaught PHP Exception

Open
#2 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.