Hummingbird acts weird with the custom code to detect user agents.

I have set up custom code to detect the user agent. Hummingbird behaved weirdly with the custom code.

Hummingbird caches that user agents.

Example :

if one user opened the website from his phone, his user agent will be cached.

So if another user opens from the desktop, he will get the user agent of the phone user and functions gets messed up.

  • Dimitris Kalliris
    • Support Team Lead

    Hello there Maroun Melhem,

    hope you’re doing well today! :slight_smile:

    Could you please grab a recent backup of your installation and update HummingBird to the latest version (1.9.3)? As it’s including a fix that might resolve this for you.

    Let me know how that goes, as we also have another fix in the pipeline, which is about giving the option to disable the caching on mobile devices, which should also resolve the above issue.

    Looking forward to get your results!

    Thank you,

    Dimitris