# Weird "mautic.core..." elements in menus

**URL:** <https://forum.mautic.org/t/weird-mautic-core-elements-in-menus/21126>\
**Category:** Product Support\
**Created:** [October 4, 2021, 6:39am UTC](https://forum.mautic.org/t/weird-mautic-core-elements-in-menus/21126 "2021-10-04T06:39:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![romancretnik](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/romancretnik/32/12427_2.png) [@romancretnik](https://forum.mautic.org/u/romancretnik)\
**Post date:** [October 4, 2021, 6:39am UTC](https://forum.mautic.org/t/weird-mautic-core-elements-in-menus/21126/1 "2021-10-04T06:39:15Z")

</div>

**Your software**  
My Mautic version is: 4.0.1  
My PHP version is: 7.4.23  
My Database type and version is: 5.7.35-cll-lve

**Your problem**  
My problem is:  
Instead of seeing regular expressions on buttons I see some unusual expressions, that all start with “mautic.core.” Please see the screenshot.  
I used earlier version of Mautic (3.3) and it happened then. After that I updated Mautic  
and it was fine for a short period of time and now it’s back again.

 ![screenshot-ma.agencija-ms.com-2021.10.04-08_27_10](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/5/5a466c07a7f761f8cc7dc937f3279ce404dd0231.png)

These errors are showing in the log:  
[2021-10-04 04:28:33] mautic.WARNING: PHP Warning - Illegal string offset ‘regex’ - in file /home/agnms/ma.agencija-ms.com/vendor/matomo/device-detector/Parser/AbstractParser.php - at line 344 {“val1”:null,“val2”:"/home/agnms/ma.agencija-ms.com/vendor/matomo/device-detector/regexes/bots.yml"}   
[2021-10-04 04:28:33] mautic.WARNING: PHP Warning - Illegal string offset ‘regex’ - in file /home/agnms/ma.agencija-ms.com/vendor/matomo/device-detector/Parser/Client/Browser.php - at line 486 {“regex”:"/home/agnms/ma.agencija-ms.com/vendor/matomo/device-detector/regexes/client/browsers.yml"}   
[2021-10-04 06:03:30] mautic.WARNING: PHP Warning - Illegal string offset ‘regex’ - in file /home/agnms/ma.agencija-ms.com/vendor/matomo/device-detector/Parser/AbstractParser.php - at line 344 {“val1”:null,“val2”:"/home/agnms/ma.agencija-ms.com/vendor/matomo/device-detector/regexes/bots.yml"}   
[2021-10-04 06:03:30] mautic.WARNING: PHP Warning - Illegal string offset ‘regex’ - in file /home/agnms/ma.agencija-ms.com/vendor/matomo/device-detector/Parser/Client/Browser.php - at line 486 {“regex”:"/home/agnms/ma.agencija-ms.com/vendor/matomo/device-detector/regexes/client/browsers.yml"}   
[2021-10-04 06:03:41] mautic.WARNING: PHP Warning - Illegal string offset ‘regex’ - in file /home/agnms/ma.agencija-ms.com/vendor/matomo/device-detector/Parser/AbstractParser.php - at line 344 {“val1”:null,“val2”:"/home/agnms/ma.agencija-ms.com/vendor/matomo/device-detector/regexes/bots.yml"}   
[2021-10-04 06:03:41] mautic.WARNING: PHP Warning - Illegal string offset ‘regex’ - in file /home/agnms/ma.agencija-ms.com/vendor/matomo/device-detector/Parser/Client/Browser.php - at line 486 {“regex”:"/home/agnms/ma.agencija-ms.com/vendor/matomo/device-detector/regexes/client/browsers.yml"}   
[2021-10-04 06:03:48] mautic.WARNING: PHP Warning - Illegal string offset ‘regex’ - in file /home/agnms/ma.agencija-ms.com/vendor/matomo/device-detector/Parser/AbstractParser.php - at line 344 {“val1”:null,“val2”:"/home/agnms/ma.agencija-ms.com/vendor/matomo/device-detector/regexes/bots.yml"}   
[2021-10-04 06:03:48] mautic.WARNING: PHP Warning - Illegal string offset ‘regex’ - in file /home/agnms/ma.agencija-ms.com/vendor/matomo/device-detector/Parser/Client/Browser.php - at line 486 {“regex”:"/home/agnms/ma.agencija-ms.com/vendor/matomo/device-detector/regexes/client/browsers.yml"}   
[2021-10-04 06:11:59] mautic.WARNING: PHP Warning - Illegal string offset ‘regex’ - in file /home/agnms/ma.agencija-ms.com/vendor/matomo/device-detector/Parser/AbstractParser.php - at line 344 {“val1”:null,“val2”:"/home/agnms/ma.agencija-ms.com/vendor/matomo/device-detector/regexes/bots.yml"}   
[2021-10-04 06:11:59] mautic.WARNING: PHP Warning - Illegal string offset ‘regex’ - in file /home/agnms/ma.agencija-ms.com/vendor/matomo/device-detector/Parser/Client/Browser.php - at line 486 {“regex”:"/home/agnms/ma.agencija-ms.com/vendor/matomo/device-detector/regexes/client/browsers.yml"}   
[2021-10-04 06:13:09] mautic.WARNING: PHP Warning - Illegal string offset ‘regex’ - in file /home/agnms/ma.agencija-ms.com/vendor/matomo/device-detector/Parser/AbstractParser.php - at line 344 {“val1”:null,“val2”:"/home/agnms/ma.agencija-ms.com/vendor/matomo/device-detector/regexes/bots.yml"}   
[2021-10-04 06:13:09] mautic.WARNING: PHP Warning - Illegal string offset ‘regex’ - in file /home/agnms/ma.agencija-ms.com/vendor/matomo/device-detector/Parser/Client/Browser.php - at line 486 {“regex”:"/home/agnms/ma.agencija-ms.com/vendor/matomo/device-detector/regexes/client/browsers.yml"}   
[2021-10-04 06:17:18] mautic.WARNING: PHP Warning - Illegal string offset ‘regex’ - in file /home/agnms/ma.agencija-ms.com/vendor/matomo/device-detector/Parser/AbstractParser.php - at line 344 {“val1”:null,“val2”:"/home/agnms/ma.agencija-ms.com/vendor/matomo/device-detector/regexes/bots.yml"}   
[2021-10-04 06:17:18] mautic.WARNING: PHP Warning - Illegal string offset ‘regex’ - in file /home/agnms/ma.agencija-ms.com/vendor/matomo/device-detector/Parser/Bot.php - at line 75 {“result”:null,“regex”:"/home/agnms/ma.agencija-ms.com/vendor/matomo/device-detector/regexes/bots.yml"}   
[2021-10-04 06:17:18] mautic.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalThrowableError: “Cannot unset string offsets” at /home/agnms/ma.agencija-ms.com/vendor/matomo/device-detector/Parser/Bot.php line 78 {“exception”:"[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): Cannot unset string offsets at /home/agnms/ma.agencija-ms.com/vendor/matomo/device-detector/Parser/Bot.php:78)"}   
[2021-10-04 06:24:51] mautic.WARNING: PHP Warning - Illegal string offset ‘regex’ - in file /home/agnms/ma.agencija-ms.com/vendor/matomo/device-detector/Parser/AbstractParser.php - at line 344 {“val1”:null,“val2”:"/home/agnms/ma.agencija-ms.com/vendor/matomo/device-detector/regexes/bots.yml"}   
[2021-10-04 06:24:51] mautic.WARNING: PHP Warning - Illegal string offset ‘regex’ - in file /home/agnms/ma.agencija-ms.com/vendor/matomo/device-detector/Parser/Client/Browser.php - at line 486 {“regex”:"/home/agnms/ma.agencija-ms.com/vendor/matomo/device-detector/regexes/client/browsers.yml"}

Steps I have tried to fix the problem:  
Cleared cache
