# HELP - mautic.NOTICE: PHP Notice

**URL:** <https://forum.mautic.org/t/help-mautic-notice-php-notice/25349>\
**Category:** Product Support\
**Tags:** mautic-4\
**Created:** [September 9, 2022, 10:25am UTC](https://forum.mautic.org/t/help-mautic-notice-php-notice/25349 "2022-09-09T10:25:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![stanleymendesf](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/stanleymendesf/32/8138_2.png) [@stanleymendesf](https://forum.mautic.org/u/stanleymendesf)\
**Post date:** [September 9, 2022, 10:25am UTC](https://forum.mautic.org/t/help-mautic-notice-php-notice/25349/1 "2022-09-09T10:25:37Z")

</div>

**Your software**  
My Mautic version is: 4.4.1  
My PHP version is: 7.4.30  
My Database type and version is: 10.5.17-MariaDB-1:10.5.17+maria~ubu1804

**Your problem**  
My problem is:  
Checking the logs I identified records that I could not understand what it is about.

These errors are showing in the log:  
[2022-09-09 10:08:11] mautic.NOTICE: PHP Notice - Trying to access array offset on value of type bool - in file /var/www/html/mautic.conasems.org.br/app/bundles/PageBundle/Entity/HitRepository.php - at line 267 {“options”:{“leadId”:“46742”,“0”:“[https://www.conasems.org.br/%“,“second\_to\_last”:“73538”},“sq”:”[object]](https://www.conasems.org.br/%25%22,%22second_to_last%22:%2273538%22%7D,%22sq%22:%22%5Bobject%5D) (Doctrine\DBAL\Query\QueryBuilder: SELECT h.date\_hit latest\_hit FROM brmautic\_page\_hits h WHERE (h.lead\_id = 46742) AND (h.id \<\> 73538))”,“result”:false} {“hostname”:“Portal”,“pid”:29115}  
[2022-09-09 10:08:23] mautic.NOTICE: PHP Notice - Trying to access array offset on value of type bool - in file /var/www/html/mautic.conasems.org.br/app/bundles/PageBundle/Entity/HitRepository.php - at line 267 {“options”:{“leadId”:“46743”,“0”:“[https://www.conasems.org.br/%“,“second\_to\_last”:“73542”},“sq”:”[object]](https://www.conasems.org.br/%25%22,%22second_to_last%22:%2273542%22%7D,%22sq%22:%22%5Bobject%5D) (Doctrine\DBAL\Query\QueryBuilder: SELECT h.date\_hit latest\_hit FROM brmautic\_page\_hits h WHERE (h.lead\_id = 46743) AND (h.id \<\> 73542))”,“result”:false} {“hostname”:“Portal”,“pid”:29024}  
[2022-09-09 10:12:29] mautic.NOTICE: PHP Notice - Trying to access array offset on value of type bool - in file /var/www/html/mautic.conasems.org.br/app/bundles/PageBundle/Entity/HitRepository.php - at line 267 {“options”:{“leadId”:“46744”,“0”:“[https://www.conasems.org.br/%“,“second\_to\_last”:“73560”},“sq”:”[object]](https://www.conasems.org.br/%25%22,%22second_to_last%22:%2273560%22%7D,%22sq%22:%22%5Bobject%5D) (Doctrine\DBAL\Query\QueryBuilder: SELECT h.date\_hit latest\_hit FROM brmautic\_page\_hits h WHERE (h.lead\_id = 46744) AND (h.id \<\> 73560))”,“result”:false} {“hostname”:“Portal”,“pid”:29385}  
[2022-09-09 10:15:20] mautic.NOTICE: PHP Notice - Trying to access array offset on value of type bool - in file /var/www/html/mautic.conasems.org.br/app/bundles/PageBundle/Entity/HitRepository.php - at line 267 {“options”:{“leadId”:“46745”,“0”:“[https://www.conasems.org.br/%“,“second\_to\_last”:“73568”},“sq”:”[object]](https://www.conasems.org.br/%25%22,%22second_to_last%22:%2273568%22%7D,%22sq%22:%22%5Bobject%5D) (Doctrine\DBAL\Query\QueryBuilder: SELECT h.date\_hit latest\_hit FROM brmautic\_page\_hits h WHERE (h.lead\_id = 46745) AND (h.id \<\> 73568))”,“result”:false} {“hostname”:“Portal”,“pid”:29916}  
[2022-09-09 10:15:21] mautic.NOTICE: PHP Notice - Trying to access array offset on value of type bool - in file /var/www/html/mautic.conasems.org.br/app/bundles/PageBundle/Entity/HitRepository.php - at line 267 {“options”:{“leadId”:“46746”,“0”:“[https://www.conasems.org.br/%“,“second\_to\_last”:“73569”},“sq”:”[object]](https://www.conasems.org.br/%25%22,%22second_to_last%22:%2273569%22%7D,%22sq%22:%22%5Bobject%5D) (Doctrine\DBAL\Query\QueryBuilder: SELECT h.date\_hit latest\_hit FROM brmautic\_page\_hits h WHERE (h.lead\_id = 46746) AND (h.id \<\> 73569))”,“result”:false} {“hostname”:“Portal”,“pid”:29870}  
[2022-09-09 10:15:26] mautic.NOTICE: PHP Notice - Trying to access array offset on value of type bool - in file /var/www/html/mautic.conasems.org.br/app/bundles/PageBundle/Entity/HitRepository.php - at line 267 {“options”:{“leadId”:“46747”,“0”:“[https://www.conasems.org.br/%“,“second\_to\_last”:“73570”},“sq”:”[object]](https://www.conasems.org.br/%25%22,%22second_to_last%22:%2273570%22%7D,%22sq%22:%22%5Bobject%5D) (Doctrine\DBAL\Query\QueryBuilder: SELECT h.date\_hit latest\_hit FROM brmautic\_page\_hits h WHERE (h.lead\_id = 46747) AND (h.id \<\> 73570))”,“result”:false} {“hostname”:“Portal”,“pid”:29961}  
[2022-09-09 10:17:19] mautic.NOTICE: PHP Notice - Trying to access array offset on value of type bool - in file /var/www/html/mautic.conasems.org.br/app/bundles/PageBundle/Entity/HitRepository.php - at line 267 {“options”:{“leadId”:“46748”,“0”:“[https://www.conasems.org.br/%“,“second\_to\_last”:“73573”},“sq”:”[object]](https://www.conasems.org.br/%25%22,%22second_to_last%22:%2273573%22%7D,%22sq%22:%22%5Bobject%5D) (Doctrine\DBAL\Query\QueryBuilder: SELECT h.date\_hit latest\_hit FROM brmautic\_page\_hits h WHERE (h.lead\_id = 46748) AND (h.id \<\> 73573))”,“result”:false} {“hostname”:“Portal”,“pid”:29916}  
[2022-09-09 10:17:49] mautic.NOTICE: PHP Notice - Trying to access array offset on value of type bool - in file /var/www/html/mautic.conasems.org.br/app/bundles/PageBundle/Entity/HitRepository.php - at line 267 {“options”:{“leadId”:“46749”,“0”:“[https://www.conasems.org.br/%“,“second\_to\_last”:“73574”},“sq”:”[object]](https://www.conasems.org.br/%25%22,%22second_to_last%22:%2273574%22%7D,%22sq%22:%22%5Bobject%5D) (Doctrine\DBAL\Query\QueryBuilder: SELECT h.date\_hit latest\_hit FROM brmautic\_page\_hits h WHERE (h.lead\_id = 46749) AND (h.id \<\> 73574))”,“result”:false} {“hostname”:“Portal”,“pid”:29961}  
[2022-09-09 10:18:40] mautic.NOTICE: PHP Notice - Trying to access array offset on value of type bool - in file /var/www/html/mautic.conasems.org.br/app/bundles/PageBundle/Entity/HitRepository.php - at line 267 {“options”:{“leadId”:“46750”,“0”:“[https://www.conasems.org.br/%“,“second\_to\_last”:“73582”},“sq”:”[object]](https://www.conasems.org.br/%25%22,%22second_to_last%22:%2273582%22%7D,%22sq%22:%22%5Bobject%5D) (Doctrine\DBAL\Query\QueryBuilder: SELECT h.date\_hit latest\_hit FROM brmautic\_page\_hits h WHERE (h.lead\_id = 46750) AND (h.id \<\> 73582))”,“result”:false} {“hostname”:“Portal”,“pid”:30022}  
[2022-09-09 10:18:49] mautic.NOTICE: PHP Notice - Trying to access array offset on value of type bool - in file /var/www/html/mautic.conasems.org.br/app/bundles/PageBundle/Entity/HitRepository.php - at line 267 {“options”:{“leadId”:“46751”,“0”:“[https://www.conasems.org.br/%“,“second\_to\_last”:“73583”},“sq”:”[object]](https://www.conasems.org.br/%25%22,%22second_to_last%22:%2273583%22%7D,%22sq%22:%22%5Bobject%5D) (Doctrine\DBAL\Query\QueryBuilder: SELECT h.date\_hit latest\_hit FROM brmautic\_page\_hits h WHERE (h.lead\_id = 46751) AND (h.id \<\> 73583))”,“result”:false} {“hostname”:“Portal”,“pid”:30039}  
[2022-09-09 10:20:24] mautic.NOTICE: PHP Notice - Trying to access array offset on value of type bool - in file /var/www/html/mautic.conasems.org.br/app/bundles/PageBundle/Entity/HitRepository.php - at line 267 {“options”:{“leadId”:“46752”,“0”:“[https://www.conasems.org.br/%“,“second\_to\_last”:“73587”},“sq”:”[object]](https://www.conasems.org.br/%25%22,%22second_to_last%22:%2273587%22%7D,%22sq%22:%22%5Bobject%5D) (Doctrine\DBAL\Query\QueryBuilder: SELECT h.date\_hit latest\_hit FROM brmautic\_page\_hits h WHERE (h.lead\_id = 46752) AND (h.id \<\> 73587))”,“result”:false} {“hostname”:“Portal”,“pid”:30222}  
[2022-09-09 10:20:33] mautic.NOTICE: PHP Notice - Trying to access array offset on value of type bool - in file /var/www/html/mautic.conasems.org.br/app/bundles/PageBundle/Entity/HitRepository.php - at line 267 {“options”:{“leadId”:“46753”,“0”:“[https://www.conasems.org.br/%“,“second\_to\_last”:“73589”},“sq”:”[object]](https://www.conasems.org.br/%25%22,%22second_to_last%22:%2273589%22%7D,%22sq%22:%22%5Bobject%5D) (Doctrine\DBAL\Query\QueryBuilder: SELECT h.date\_hit latest\_hit FROM brmautic\_page\_hits h WHERE (h.lead\_id = 46753) AND (h.id \<\> 73589))”,“result”:false} {“hostname”:“Portal”,“pid”:30160}  
[2022-09-09 10:20:54] mautic.NOTICE: PHP Notice - Trying to access array offset on value of type bool - in file /var/www/html/mautic.conasems.org.br/app/bundles/PageBundle/Entity/HitRepository.php - at line 267 {“options”:{“leadId”:“46754”,“0”:“[https://www.conasems.org.br/%“,“second\_to\_last”:“73590”},“sq”:”[object]](https://www.conasems.org.br/%25%22,%22second_to_last%22:%2273590%22%7D,%22sq%22:%22%5Bobject%5D) (Doctrine\DBAL\Query\QueryBuilder: SELECT h.date\_hit latest\_hit FROM brmautic\_page\_hits h WHERE (h.lead\_id = 46754) AND (h.id \<\> 73590))”,“result”:false} {“hostname”:“Portal”,“pid”:30287}

---

<div class="post-metadata">

**Author:** ![dirk\_s](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dirk_s/32/748_2.png) [@dirk\_s](https://forum.mautic.org/u/dirk_s)\
**Post date:** [June 23, 2023, 2:55pm UTC](https://forum.mautic.org/t/help-mautic-notice-php-notice/25349/2 "2023-06-23T14:55:45Z")

</div>

Did you get it eventually resolved?

---

<div class="post-metadata">

**Author:** ![stanleymendesf](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/stanleymendesf/32/8138_2.png) [@stanleymendesf](https://forum.mautic.org/u/stanleymendesf)\
**Post date:** [June 23, 2023, 5:55pm UTC](https://forum.mautic.org/t/help-mautic-notice-php-notice/25349/3 "2023-06-23T17:55:56Z")

</div>

Yes, updated version! Thank’s

---

<div class="post-metadata">

**Author:** ![dirk\_s](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dirk_s/32/748_2.png) [@dirk\_s](https://forum.mautic.org/u/dirk_s)\
**Post date:** [June 28, 2023, 10:35am UTC](https://forum.mautic.org/t/help-mautic-notice-php-notice/25349/4 "2023-06-28T10:35:58Z")

</div>

@stanleymendesf You mean updated Mautic solved it? Or updated database / php?
