Questions tagged [compile]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
24 views

Magento 2 Compile Void on <directory> in line 20

I have updated one of my plugin versions (payment plugin) to the most recent version and after running bin/magento setup:upgrade i run the comand : bin/magento setup:di:compile which gives me the ...
Omar Mohamed's user avatar
0 votes
3 answers
32 views

Magento 2.3.2 Incompatible argument type

Error in during compilation: 6/7 [========================>---] 85% 33 secs 395.0 MiB Daniels\Cform\Model\ResourceModel\Post\Grid\Collection Incompatible argument type: Required type: \Magento\...
Daniels HC's user avatar
0 votes
0 answers
144 views

magento 2 compile error classloader

I get this error when I do magento compile even have searched off the internet and it could be something with upgrade to php 8.1 or something not compatible with it, but just haven't found any ...
Alain Stout's user avatar
0 votes
1 answer
27 views

Copying component from src to my app Errors: "Failed to compile." but I am able to modify styles

I'm trying to customize a few components, but anytime I try to copy a component from /scandipwa/node_modules/@scandipwa/scandipwa/src/component/Footer/ into my app directory /scandipwa/src/component/...
ByteMyPixel's user avatar
0 votes
1 answer
1k views

Magento 2.4.3-p3 compile error

I upgraded a number of module but when I come to compile (bin/magento setup:di:compile) I get the error below. Anyone know how to fix it? Thank you Andy Repositories code generation... 1/9 [===>----...
AndyJH's user avatar
  • 43
0 votes
3 answers
68 views

Switching to developer mod doesn't help much

When I switch my Magento 2 to developer mode it doesn't do much for me. I practically don't see any benefit from it. When I change something in my plugin it has no effect on the front end. If I change ...
Andrzej's user avatar
0 votes
3 answers
76 views

Magento 2 - The requested class did not generate properly, because the 'generated' directory permission is read-only (Even though folder has 777)

I get "The requested class did not generate properly, because the 'generated' directory permission is read-only" during setup:di:compile even though the folder has 777 permission. I even ...
Black's user avatar
  • 3,340
0 votes
3 answers
1k views

Magento 2.4 syntax error, unexpected token "readonly", expecting identifier#0

We are using Magento 2.4.5-p1 and php 8.1 version, upgrade command is working fine but when we try to run the di-compile command getting an error of Repositories code generation... 1/9 [===>--------...
sumeet bajaj's user avatar
  • 1,296
2 votes
0 answers
129 views

Amasty Extension Install Compile Error

Argento Stripes Theme (same error on blank luma) - Magento 2.4.3 please can somone help I am trying to install manually at the moment trying to get amasty Improved Layered Navigation Pro module-shopby-...
jt9489's user avatar
  • 175
0 votes
2 answers
4k views

Magento 2 PHP Fatal error during setup:di:compile at 33%

Currently running Magento 2.4.1-p1. When I run setup:di:compile I've got this output: Interface 'Laminas\ServiceManager\Factory\FactoryInterface' not found in /chroot/home/af5d329a/851f14efb2.nxcli....
Ace Optics's user avatar
0 votes
0 answers
35 views

Getting "Class not found" in bitbucket pipeline issue

In my build from my pipeline, I am receiving this error: Fatal error: Uncaught Error: Class 'Swagger\Client\Api\ProductsApi' not fou nd in /opt/atlassian/pipelines/agent/build/app/code/Namespace/...
Attila Naghi's user avatar
  • 4,013
0 votes
1 answer
74 views

magento compile time error

C:\xampp\htdocs\magento-ce-2.4.1-2020-09-25-04-08-02>php bin/magento setup:di:compile Compilation was started. Repositories code generation... 1/9 [===>------------------------] 11% 4 secs 96.0 ...
Rakshith Rai's user avatar
0 votes
1 answer
101 views

Error during compilation - Extra parameters passed to parent construct

During deployment when i run setup:di:compile i got error in one of my block, Extra parameters passed to parent construct: $data Guide me on this issue File name:index.php File location:app/code/...
Sabin's user avatar
  • 1
-1 votes
1 answer
1k views

Magento 2: Invalid block type: Magento\Checkout\Block\Cart\Shipping

2 exception(s): Exception #0 (Magento\Framework\Exception\LocalizedException): Invalid block type: Magento\Checkout\Block\Cart\Shipping Exception #1 (ReflectionException): Class EmergentMagento\...
David Duong's user avatar