• Hi. I was getting a ton of debug log messages like this:

    Undefined index: display_on_shop in tawkto-live-chat/tawkto.php on line 314

    same for display_on_productcategory, display_on_productpage, display_on_producttag

    We have always had the option “always_display” turned on, and those other options were somehow never defined in the settings. Maybe through version updates, I have no idea how or why.

    I turned off always_display and saved the settings then turned it back on and saved again. That got the missing options recorded and no longer do I have log messages about them.

    Personally I would refactor the code to check always_display first and not reference the other ones.

    Just passing it on in case it may help someone else.

    -Sean

The topic ‘tawkto-visibility-options’ is closed to new replies.