Coder Social home page Coder Social logo

Comments (5)

henkelund avatar henkelund commented on May 29, 2024

Hi iw0der,

php bin/magento setup:di:compile works fine for me. At least after I run rm -rf var/cache/* var/di/* var/generation/* var/page_cache/* and rmdir var/di.

What's your Magento and PHP version? Also did you install the module with composer or with the zip archive? Or accidentally both?

/ H

from magento2-matomo.

iw0der avatar iw0der commented on May 29, 2024

No way!
Actually I had already done, but to be sure I did again as directed by you ... same result :-(

What am I using?

Distro: CentOS7
Arch: x86_64
Magento: 2.0.2
Apache: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips PHP/5.5.32 mysqlnd 5.0.11-dev - 20120503
MySQL: Ver 5.6.29

I've installed from the archive, but you make me doubt that it remained some traces of a previous installation that I may have done, the other week, via composer; What can I check and remove if necessary?

Thx,
A.

from magento2-matomo.

henkelund avatar henkelund commented on May 29, 2024

I could recreate the error by using PHP 5.6. Not sure why it worked with PHP 7.

I've pushed a fix to the branch 1.0.1. You can try it out by removing the module and then installing it using composer:

composer config repositories.henhedpiwik git https://github.com/henkelund/magento2-henhed-piwik.git
composer require henhed/module-piwik:1.0.1.x-dev

Please let me know if that works for you and I'll publish a new release.

from magento2-matomo.

iw0der avatar iw0der commented on May 29, 2024

Well done! ;-)

bash-4.2$ bin/magento setup:di:compile
Compilation was started.
Interception cache generation... 7/7 [============================] 100% 5 mins 382.2 MiB
Generated code and dependency injection configuration successfully.

Thanks,
A.

from magento2-matomo.

henkelund avatar henkelund commented on May 29, 2024

Sweet, thanks for reporting the issue.

from magento2-matomo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.