Mautic Community Forums

Log flooded with mautic.NOTICE: PHP Notice - Trying to access array offset on value of type bool - Redlining Server

Your software
My Mautic version is: 3.3.3
My PHP version is: 7.4
My Database type and version is: 10.3.20-MariaDB-cll-lve

Your problem
My problem is:
Updated to 3.3.3 and then resolved all outstanding items in the logs. 1 day later the log is flooded with the error below and webserver swamped to redline.

mautic.NOTICE: PHP Notice - Trying to access array offset on value of type bool - in file /mautic/plugins/MauticFocusBundle/Include/lessc.inc.php - at line 719 {“args”:,“orderedValues”:,“keywordValues”:,“assignedValues”:,“i”:0,“last”:false}

Steps I have tried to fix the problem:
Searched the support forums and web for this error with nothing found.

3 Likes

got the same error log too. I’m on mautic v 3.3.4

Hi, I looked over the code of the plugin it looks like we are dealing with an empty array of some arguments. Can you post configuration of your focus item in Mautic and open up issue on github?

So we can reproduce this. The thing is fix for this seemss really simple (we actually just need to fix one condition in the code) but I am not sure at this point whether the issue described in the initial post is actually due to improper configuration in Mautic or is it actually a bug.