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

Error when trying to create AB test for email with winner criteria of read rate #6012

Closed
Autom3 opened this issue Apr 27, 2018 · 0 comments · May be fixed by aleHRevirtus/mautic-5.x#105
Closed

Comments

@Autom3
Copy link
Contributor

Autom3 commented Apr 27, 2018

What type of report is this:

Q A
Bug report? X
Feature request?
Enhancement?

Description:

We are unable to setup AB testing for our emails, only tested with winner criteria of read rate.
Yesterday we made one and now we are unable to edit that email anymore.
Today it always gives us a popup saying 'CSRF token error. Try to refresh the page and try again'.

If a bug:

Q A
Mautic version 2.13
PHP version 7.0.17

Steps to reproduce:

  1. Create AB test for an existing email
  2. Give it a weight of 50
  3. Set the AB test winner criteria to read rate
  4. Pres apply

Log errors:

[2018-04-27 08:15:22] mautic.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalThrowableError: "Call to a member function getId() on null" at /var/www/html/app/bundles/LeadBundle/Helper/ContactRequestHelper.php line 205 {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalThrowableError(code: 0): Call to a member function getId() on null at /var/www/html/app/bundles/LeadBundle/Helper/ContactRequestHelper.php:205)"} []
[2018-04-27 08:15:38] mautic.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalThrowableError: "Call to a member function getId() on null" at /var/www/html/app/bundles/LeadBundle/Helper/ContactRequestHelper.php line 205 {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalThrowableError(code: 0): Call to a member function getId() on null at /var/www/html/app/bundles/LeadBundle/Helper/ContactRequestHelper.php:205)"} []
[2018-04-27 08:26:43] mautic.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalThrowableError: "Call to a member function getName() on null" at /var/www/html/app/bundles/EmailBundle/Helper/AbTestHelper.php line 47 {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalThrowableError(code: 0): Call to a member function getName() on null at /var/www/html/app/bundles/EmailBundle/Helper/AbTestHelper.php:47)"} []
[2018-04-27 08:26:48] mautic.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalThrowableError: "Call to a member function getName() on null" at /var/www/html/app/bundles/EmailBundle/Helper/AbTestHelper.php line 47 {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalThrowableError(code: 0): Call to a member function getName() on null at /var/www/html/app/bundles/EmailBundle/Helper/AbTestHelper.php:47)"} []
[2018-04-27 08:31:46] mautic.CRITICAL: Uncaught PHP Exception RuntimeException: "Unable to write in the cache directory (/var/www/html/app/cache/prod/twig/de)." at /var/www/html/vendor/twig/twig/lib/Twig/Cache/Filesystem.php line 61 {"exception":"[object] (RuntimeException(code: 0): Unable to write in the cache directory (/var/www/html/app/cache/prod/twig/de). at /var/www/html/vendor/twig/twig/lib/Twig/Cache/Filesystem.php:61)"} []
[2018-04-27 08:32:40] mautic.CRITICAL: Uncaught PHP Exception RuntimeException: "Unable to write in the cache directory (/var/www/html/app/cache/prod/twig/de)." at /var/www/html/vendor/twig/twig/lib/Twig/Cache/Filesystem.php line 61 {"exception":"[object] (RuntimeException(code: 0): Unable to write in the cache directory (/var/www/html/app/cache/prod/twig/de). at /var/www/html/vendor/twig/twig/lib/Twig/Cache/Filesystem.php:61)"} []
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 a pull request may close this issue.

1 participant