• Hello Thomas,

    at first let me thank you for your effort and lot of work on this useful plugin!

    I’m using plugin on few websites, logging errors with Sentry and after turning few sites to PHP 7.4 I’m getting deprecated notice:
    “Deprecated: implode(): Passing glue string after array is deprecated. Swap the parameters”

    Regarding PHP manual the function implode deprecate swapping of glue and array from version 7.4.0.

    Could you please repair this issue with any of next release?

    Thank you in advance

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Thomas Geiger

    (@duracelltomi)

    Hi,

    Thanks for the report.
    Do you have perhaps anything more specific in your logs? Perhaps a PHP filename and a line number? It could help be find the line to fix.

    I am usually using the proper parameter order but who knows, perhaps I did it wrong somewhere.

    Or it can be also inside some bundled code like the WhichBrowser library that helps me output browser/os/device data into the data layer.

    Hello,

    Hopefully, I can be a little help here.
    The error is occuring on duracelltomi-google-tag-manager/integration/whichbrowser/src/Model/Version.php file on line 254.

    • This reply was modified 4 years, 2 months ago by ottkirss.
    Thread Starter Vojtěch Kaizr

    (@wojtishek)

    Hello Thomas,

    I’m sorry for longer time without reply.
    It’s exactly as @ottkirss replied – error is in whichbrowser integration.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Deprecated implode() parameters setting’ is closed to new replies.