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

Patch recoverable error #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

richardhj
Copy link

I encountered a recoverable error when trying to send a newsletter.


Recoverable error: Argument 2 passed to Avisota\Contao\SubscriptionRecipient\RecipientSource\RecipientsRecipientSourceFactory::parseRecipientsUnsubscribePage() must be an instance of Avisota\Contao\SubscriptionRecipient\RecipientSource\RecipientsRecipientSource, instance of Avisota\Contao\Salutation\SalutationRecipientSource given, called in /home/www/composer/vendor/avisota/contao-subscription-recipient/src/RecipientSource/RecipientsRecipientSourceFactory.php on line 54 and defined in composer/vendor/avisota/contao-subscription-recipient/src/RecipientSource/RecipientsRecipientSourceFactory.php on line 107
#0 composer/vendor/avisota/contao-subscription-recipient/src/RecipientSource/RecipientsRecipientSourceFactory.php(107): __error(4096, 'Argument 2 pass...', '/home/w...', 107, Array)
#1 composer/vendor/avisota/contao-subscription-recipient/src/RecipientSource/RecipientsRecipientSourceFactory.php(54): Avisota\Contao\SubscriptionRecipient\RecipientSource\RecipientsRecipientSourceFactory->parseRecipientsUnsubscribePage(Object(Avisota\Contao\Entity\RecipientSource), Object(Avisota\Contao\Salutation\SalutationRecipientSource))
#2 composer/vendor/avisota/contao-core/src/ServiceFactory.php(243): Avisota\Contao\SubscriptionRecipient\RecipientSource\RecipientsRecipientSourceFactory->createRecipientSource(Object(Avisota\Contao\Entity\RecipientSource))
#3 composer/vendor/avisota/contao-core/src/ServiceFactory.php(95): Avisota\Contao\Core\ServiceFactory->createRecipientSource(Object(Avisota\Contao\Entity\RecipientSource))
#4 composer/vendor/pimple/pimple/lib/Pimple.php(126): Avisota\Contao\Core\ServiceFactory->Avisota\Contao\Core\{closure}(Object(Pimple))
#5 composer/vendor/pimple/pimple/lib/Pimple.php(83): Pimple::{closure}(Object(Pimple))
#6 composer/vendor/avisota/contao-message/src/Send/SendImmediateModule.php(61): Pimple->offsetGet('avisota.recipie...')
#7 composer/vendor/avisota/contao-message/src/Backend/Preview.php(109): Avisota\Contao\Message\Core\Send\SendImmediateModule->run(Object(Avisota\Contao\Entity\Message))
#8 composer/vendor/avisota/contao-message/src/Backend/Preview.php(60): Avisota\Contao\Message\Core\Backend\Preview->renderPreviewView(Object(ContaoCommunityAlliance\DcGeneral\DefaultEnvironment))
#9 [internal function]: Avisota\Contao\Message\Core\Backend\Preview->handleAction(Object(ContaoCommunityAlliance\DcGeneral\Event\ActionEvent), 'dc-general.acti...', Object(Symfony\Component\EventDispatcher\EventDispatcher))
#10 composer/vendor/symfony/event-dispatcher/EventDispatcher.php(184): call_user_func(Array, Object(ContaoCommunityAlliance\DcGeneral\Event\ActionEvent), 'dc-general.acti...', Object(Symfony\Component\EventDispatcher\EventDispatcher))
#11 composer/vendor/symfony/event-dispatcher/EventDispatcher.php(46): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(Array, 'dc-general.acti...', Object(ContaoCommunityAlliance\DcGeneral\Event\ActionEvent))
#12 composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/Controller/DefaultController.php(153): Symfony\Component\EventDispatcher\EventDispatcher->dispatch('dc-general.acti...', Object(ContaoCommunityAlliance\DcGeneral\Event\ActionEvent))
#13 composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/DC/General.php(286): ContaoCommunityAlliance\DcGeneral\Controller\DefaultController->handle(Object(ContaoCommunityAlliance\DcGeneral\Action))
#14 system/modules/core/classes/Backend.php(650): ContaoCommunityAlliance\DcGeneral\DC_General->__call('preview', Array)
#15 system/modules/core/classes/Backend.php(650): DC_General->preview()
#16 system/modules/core/controllers/BackendMain.php(131): Contao\Backend->getBackendModule('avisota_newslet...')
#17 contao/main.php(20): Contao\BackendMain->run()
#18 {main}

baumannsven and others added 2 commits June 11, 2017 20:12
* hotfix/3.2.1:
  optimise breadcrumb menu
  remove var annotation
  reactivated recipients managed subscription page
  update composer requirements
  reformat all module backend wildcard output
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

Successfully merging this pull request may close these issues.

2 participants