Mautic Community Forums

Depreciation Error

Sirs, good afternoon.

Could someone help me with this error ???

[2016-12-24 13:00:33] mautic.NOTICE: PHP SessionHandler :: gc (): ps_files_cleanup_dir: opendir (/ var / lib / php5 / sessions) failed: Permission denied (13) - in file / Var / www / meu dominio…com / htdocs / app / cache / prod / classes.php - at line 428 [] []

[2016-12-24 13:00:33] mautic.ERROR: Deprecation: The hardcoded value you are using for the $ referenceType argument of the Symfony Component Routing Generator UrlGenerator :: generate method is deprecated since version 2.8 and Will not be supported anymore in 3.0. Use the constants defined in the UrlGeneratorInterface instead. - in file /var/www/meu dominio…com/htdocs/app/cache/prod/classes.php - at line 1277 [] []

[2016-12-24 11:13:48] mautic.ERROR: Deprecation: Symfony Component DependencyInjection Definition :: setFactoryService (doc) is deprecated since version 2.6 and will be removed in 3.0. Use Definition :: setFactory () instead. - in file /var/www/meu dominio…com/htdocs/vendor/symfony/dependency-injection/Definition.php - at line 204 [] []

[2016-12-24 11:25:57] mautic.ERROR: Deprecation: Symfony Component DependencyInjection Definition :: setFactoryService (doc) is deprecated since version 2.6 and will be removed in 3.0. Use Definition :: setFactory () instead. - in file /var/www/meu dominio…com/htdocs/vendor/symfony/dependency-injection/Definition.php - at line 204 [] []

[2016-12-24 11:34:02] mautic.ERROR: Deprecation: Symfony Component DependencyInjection Definition :: setFactoryService (doc) is deprecated since version 2.6 and will be removed in 3.0. Use Definition :: setFactory () instead. - in file /var/www/meu dominio…com/htdocs/vendor/symfony/dependency-injection/Definition.php - at line 204 [] []

Sirs, good afternoon.
Could someone help me with this error ???
[2016-12-24 13:00:33] mautic.NOTICE: PHP SessionHandler :: gc (): ps_files_cleanup_dir: opendir (/ var / lib / php5 / sessions) failed: Permission denied (13) - in file / Var / www / meu dominio…com / htdocs / app / cache / prod / classes.php - at line 428 [] []
[2016-12-24 13:00:33] mautic.ERROR: Deprecation: The hardcoded value you are using for the $ referenceType argument of the Symfony Component Routing Generator UrlGenerator :: generate method is deprecated since version 2.8 and Will not be supported anymore in 3.0. Use the constants defined in the UrlGeneratorInterface instead. - in file /var/www/meu dominio…com/htdocs/app/cache/prod/classes.php - at line 1277 [] []
[2016-12-24 11:13:48] mautic.ERROR: Deprecation: Symfony Component DependencyInjection Definition :: setFactoryService (doc) is deprecated since version 2.6 and will be removed in 3.0. Use Definition :: setFactory () instead. - in file /var/www/meu dominio…com/htdocs/vendor/symfony/dependency-injection/Definition.php - at line 204 [] []
[2016-12-24 11:25:57] mautic.ERROR: Deprecation: Symfony Component DependencyInjection Definition :: setFactoryService (doc) is deprecated since version 2.6 and will be removed in 3.0. Use Definition :: setFactory () instead. - in file /var/www/meu dominio…com/htdocs/vendor/symfony/dependency-injection/Definition.php - at line 204 [] []
[2016-12-24 11:34:02] mautic.ERROR: Deprecation: Symfony Component DependencyInjection Definition :: setFactoryService (doc) is deprecated since version 2.6 and will be removed in 3.0. Use Definition :: setFactory () instead. - in file /var/www/meu dominio…com/htdocs/vendor/symfony/dependency-injection/Definition.php - at line 204 [] []

Permission denied (13) - in file / Var / www / meu dominio..com / htdocs / app / cache / prod / classes.php

It seems that PHP has no permissions to access your Mautic instance.

Also, dominio…com - double dot, is it correct?

Hi @Patrykkalinowski
No … the domain I used in this case an example …
Will updating PHP pro 7 solve this problem?
I’m having problems with the A / B test on landig pages …

It’s not about the PHP version. Your server is propably misconfigured and PHP can’t reach Mautic files.