Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors working with develop and magento 2.4.2-p1 #46

Open
jdigiorgio opened this issue Jun 11, 2021 · 0 comments
Open

Errors working with develop and magento 2.4.2-p1 #46

jdigiorgio opened this issue Jun 11, 2021 · 0 comments

Comments

@jdigiorgio
Copy link

I am trying to work with the develop branch here and the develop-v2 branch on the pimcore side. Per the readme, I copied the files in the repo to /app/code/Divante/PimcoreIntegration. Once that is done, if I try to run setup:di:compile I get the following error:

Compilation was started. Interception cache generation... 6/9 [==================>---------] 66% 17 secs 414.0 MiBErrors during compilation: Divante\PimcoreIntegration\Model\CategoryRepository Missed required argument populateWithValues in parent::__construct call. File: /var/www/html/app/code/Divante/PimcoreIntegration/Model/CategoryRepository.php

Also I get this error in bridge_critical.log after running bin/magento divante:queue-category:process with some categories in the queue:

StreamLogger.CRITICAL: Type Error occurred when creating object: Divante\PimcoreIntegration\Model\CategoryRepository\Interceptor, Too few arguments to function Magento\Catalog\Model\CategoryRepository::__construct(), 3 passed in /var/www/html/app/code/Divante/PimcoreIntegration/Model/CategoryRepository.php on line 43 and exactly 4 expected [] []

I don't know for sure that these are related, I just noted that they are referencing the same file and I think the same function call.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant