# Hubspot to Mautic Plug-in Not Functioning

**URL:** <https://forum.mautic.org/t/hubspot-to-mautic-plug-in-not-functioning/23856>\
**Category:** Product Support\
**Tags:** mautic-3\
**Created:** [April 22, 2022, 8:37pm UTC](https://forum.mautic.org/t/hubspot-to-mautic-plug-in-not-functioning/23856 "2022-04-22T20:37:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jptx](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/jptx/32/1751_2.png) [@jptx](https://forum.mautic.org/u/jptx)\
**Post date:** [April 22, 2022, 8:37pm UTC](https://forum.mautic.org/t/hubspot-to-mautic-plug-in-not-functioning/23856/1 "2022-04-22T20:37:55Z")

</div>

**Your software**  
My Mautic version is: 3.3.4  
My PHP version is: 7.3.28-1  
My Database type and version is: mysql\_aurora 5.7

**Your problem**  
My problem is: Hubspot Plug-in Not Reading/Writing to Mautic. Also, I’m seeing a weird red box in the plug-in config around the email field in the contact field mapping (screenshot attached).

 ![Hubspot-Mautic](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/0/0d6140a78033bba245283abbbc96bedd89c52f10.png)

These errors are showing in the log:  
[2022-04-22 02:22:30] mautic.NOTICE: PHP Notice - SessionHandler::gc(): ps\_files\_cleanup\_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13) - in file /var/www/html/vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php - at line 101 {“maxlifetime”:1440}   
[2022-04-22 03:12:17] mautic.NOTICE: PHP Notice - SessionHandler::gc(): ps\_files\_cleanup\_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13) - in file /var/www/html/vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php - at line 101 {“maxlifetime”:1440}   
[2022-04-22 03:15:18] mautic.NOTICE: PHP Notice - SessionHandler::gc(): ps\_files\_cleanup\_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13) - in file /var/www/html/vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php - at line 101 {“maxlifetime”:1440}   
[2022-04-22 03:36:27] mautic.NOTICE: PHP Notice - SessionHandler::gc(): ps\_files\_cleanup\_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13) - in file /var/www/html/vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php - at line 101 {“maxlifetime”:1440}   
[2022-04-22 04:23:00] mautic.NOTICE: PHP Notice - SessionHandler::gc(): ps\_files\_cleanup\_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13) - in file /var/www/html/vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php - at line 101 {“maxlifetime”:1440}   
[2022-04-22 04:53:53] mautic.NOTICE: PHP Notice - SessionHandler::gc(): ps\_files\_cleanup\_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13) - in file /var/www/html/vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php - at line 101 {“maxlifetime”:1440}   
[2022-04-22 07:59:32] mautic.NOTICE: PHP Notice - SessionHandler::gc(): ps\_files\_cleanup\_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13) - in file /var/www/html/vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php - at line 101 {“maxlifetime”:1440}   
[2022-04-22 08:00:19] mautic.NOTICE: PHP Notice - SessionHandler::gc(): ps\_files\_cleanup\_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13) - in file /var/www/html/vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php - at line 101 {“maxlifetime”:1440}   
[2022-04-22 12:13:21] mautic.NOTICE: PHP Notice - SessionHandler::gc(): ps\_files\_cleanup\_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13) - in file /var/www/html/vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php - at line 101 {“maxlifetime”:1440}   
[2022-04-22 12:25:31] mautic.NOTICE: PHP Notice - SessionHandler::gc(): ps\_files\_cleanup\_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13) - in file /var/www/html/vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php - at line 101 {“maxlifetime”:1440}   
[2022-04-22 13:44:18] mautic.NOTICE: PHP Notice - SessionHandler::gc(): ps\_files\_cleanup\_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13) - in file /var/www/html/vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php - at line 101 {“maxlifetime”:1440}   
[2022-04-22 15:02:19] mautic.NOTICE: PHP Notice - SessionHandler::gc(): ps\_files\_cleanup\_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13) - in file /var/www/html/vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php - at line 101 {“maxlifetime”:1440}   
[2022-04-22 17:15:46] mautic.NOTICE: PHP Notice - SessionHandler::gc(): ps\_files\_cleanup\_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13) - in file /var/www/html/vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php - at line 101 {“maxlifetime”:1440}   
[2022-04-22 19:32:38] mautic.NOTICE: PHP Notice - SessionHandler::gc(): ps\_files\_cleanup\_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13) - in file /var/www/html/vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php - at line 101 {“maxlifetime”:1440}   
[2022-04-22 20:10:42] mautic.NOTICE: PHP Notice - SessionHandler::gc(): ps\_files\_cleanup\_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13) - in file /var/www/html/vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php - at line 101 {“maxlifetime”:1440}

Steps I have tried to fix the problem: Reset plug-in. I haven’t refreshed the API key. I’ve tried to clear fields that aren’t necessary. I’ve added contacts/companies in Hubspot, but nothing’s populating in Mautic.

Any ideas?
