Skip to content

Error on PageModel::getVariants() when adding visited page decision to campaign #2260

@humbertooliveira

Description

@humbertooliveira

What type of report is this:
| Bug report? |

Description:

When the user visited one of my landing pages that is included as a "visited page" decision the app returns a Fatal Error: Call to undefined method.

If a bug:

| Mautic version | 2.1.0
| PHP version | 5.6.24

Steps to reproduce:

  1. Create a landing page
  2. Use the landing page as a "visited page" decision
  3. Visit the page with an email generated url

Log errors:

mautic.ERROR: Error: Call to undefined method Mautic\PageBundle\Model\PageModel::getVariants() - in file /home/mkmetacodigo/mk.metacodigo.com.br/app/bundles/PageBundle/EventListener/CampaignSubscriber.php - at line 119 [] []

Metadata

Metadata

Assignees

Labels

bugIssues or PR's relating to bugs

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions