• Resolved henkrijneveld

    (@henkrijneveld)


    One way or the other, both matomo and wp_optimize didn’t correctly shield their less compilers from each other.

    I thought we did all the namespacing and composer stuff just to get rid of those errors. Please use your own prefixes (the old fashioned way) for the lessc modules. Now you are interfering with each other!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support vupdraft

    (@vupdraft)

    Hi,

    I have passed this onto our development team to review

    Plugin Contributor Venkat Raj

    (@webulous)

    Hi @henkrijneveld

    Are you talking about this plugin
    https://wordpress.org/plugins/matomo/
    OR this one https://wordpress.org/plugins/wp-piwik/ ?

    What error message do you see or what unexpected behavior takes place?
    Please provide more information, so that we can reproduce the issue at our end and apply a fix.

    Thread Starter henkrijneveld

    (@henkrijneveld)

    First, thank you for answering, and I noticed my comment was somewhat rude. Appologies!

    The matomo plugin (the all in one solution. Maybe I should install a separate piwik and use wp-piwik instead)

    The compiled css for the matomo plugin is wrong. When I delete the cache on the server (with sftp), and disable the wp optimize the css will be recompiled again, this time it will be OK. The css is used in the backend, and it does not matter if the caching in wp optimize is enabled or not. I suspect the Matomo will use the lessc compiler from wp optimize. There is a difference in versions (I suppose yours is older). Autoload hell… I really don’t know who is messing this up. I see no error message, but on top of the wrongly compiled css there are selectors like:
    /* compile_me_once=9e0c7ad7ece032e70f5f2ff6b64d410d */
    /* Matomo CSS file is compiled with Less. You may be interested in writing a custom Theme for Matomo! */
    .nonExistingSelectorOnlyForReplacementOfCssFiles { display:”/var/www/html/wp-content/plugins/matomo/app/plugins/Morpheus/stylesheets/base/bootstrap.css”; }
    .nonExistingSelectorOnlyForReplacementOfCssFiles { display:”/var/www/html/wp-content/plugins/matomo/app/plugins/Morpheus/stylesheets/base/icons.css”; }

    • This reply was modified 3 years, 5 months ago by henkrijneveld.
    Plugin Contributor Venkat Raj

    (@webulous)

    @henkrijneveld I have added this issue into our to do list. Will investigate further and apply a fix if needed. Thanks

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Lessc compiler interferes with matomo for wordpress’ is closed to new replies.