Questions tagged [compilation]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
3answers
49 views

Error while running di:compile command

Getting ReflectionException] Class PayPal\Api\PayoutSenderBatchHeader does not exist error while running php bin/magento setup:di:compile command
2
votes
1answer
78 views

How I can solve the di:compile error in Magento 2?

When I run setup:di:compile I got error Errors during compilation: Vendor\CustomRegistration\Model\Customer\DataProvider Incompatible argument type: Required type: bool. Actual type: \Vendor\...
0
votes
0answers
313 views

Can I delete generated folder after compilation in magento 2?

I have faced error in production mode while clicking on the custom menu in admin.in developer mode, everything works fine. Fatal error: Uncaught Error: Call to a member function setActive() on ...
0
votes
0answers
26 views

ConfigLoader\Compiled:load() performance issue in cron area

I have experiencing for a long time some performance issues related to ConfigLoader\Compiled:load() method that is called when Cron command is ran via bin/magento. Preconditions: Magento 2.2.6 ...
0
votes
1answer
282 views

Compilation from source on static-content deploy in magento 2.3.0 when upgraded from magento 2.2.2

Hello i had upgraded magento 2.2.2 to 2.3.0 and i am getting following error when i do setup:static-content:deploy Compilation from source: /home/xxxxxxxx/public_html/xxxx/xxxxxx/vendor/magento/theme-...
0
votes
0answers
33 views

getting error after run compilation magento 1!

I am getting below error after run compilation process on the website: Fatal error: Uncaught Error: Class 'Mage_ThemeOptionsBizarre_Helper_Data' not found in /var/www/example/app/Mage.php:547 ...
0
votes
1answer
16 views

where does magento2 store extension files after compilation

I need to know where does magento2 store extension files after compilation as i am making changes in extension i need to always run commands, if i don't want to run commands for some time as we can ...
0
votes
2answers
356 views

When I set client side less compilation shows me error

Hello I am new in developing in Magento, I have Magento CE. When I set the Front End development workflow to type client side less compilation shows me an error Fatal error: Uncaught TypeError: ...
0
votes
1answer
39 views

Unable to Compile in magento2

i'm unable to compile in magento2 if i run the Compile command always give the result like below [dsdfsd@srv2 www]$ php bin/magento setup:di:compile Compilation was started. Proxies code generation......
2
votes
1answer
137 views

Compilation error due to final class Vault in Magento version before 2.2.0

I am writing a plugin on class Magento\Payment\Model\MethodInterface: <type name=“Magento\Payment\Model\MethodInterface”> <plugin name=“mageworx_ordereditor_change_title_print_order” ...
1
vote
4answers
668 views

Magento2 : How to compile SCSS to CSS in Ubuntu

Any one have idea How to compile SCSS to CSS in Magento2
0
votes
0answers
26 views

Admin panel is down due to compilation issues. Admin panel is down with 500 error

One of my website admin panel is down usually. Once i disable the compilation it works normally but after few hours site goes down and in mentioned file first line changed by its own. /var/www/html/...
0
votes
2answers
17 views

Magento 1.7 : All PAge White after start Compilation

After start Compilation i got white screen. IF i will disable compilation website working good. I don't want to disable compilation so please don't suggest this type of answer. Thanks
0
votes
2answers
59 views

Magento 1.9.x - Compiler Error after install Extension

I tried a new extension for Magento Community (https://github.com/integer-net/solr-magento1) , after is produce many errors I deleted all the files. Now, its cause error when Magento-Compiler is ...
0
votes
2answers
28 views

Magento2: How to compile custom payment module

I am new to magento, currently working on a custom payment module created by another Developer. I am facting hard time to understand module. This module has A drop-down List before placing order, ...
1
vote
2answers
691 views

Error during compilation after upgrade in magento 2.2.3

Got error during compilation after upgrade in magento 2.2.3 Interception cache generation... 6/7 [========================>---] 85% 42 secs 342.0 MiBErrors during compilation: Magento\...
2
votes
3answers
919 views

Incompatible argument type error in Magento 2.2.2

I have installed Magento 2.2.2. Running php bin/magento setup:di:compile result in this error: Magento\Backend\Model\View\Layout\GeneratorPool Incompatible argument type: Required type: \Magento\...
0
votes
2answers
441 views

HTTP ERROR 500 in checkout when compilation is on and user is logged

I recently updated my Magento to 1.9.3.8. Now, I have a HTTP ERROR 500 in a specific case. I got an error when the following three conditions are met: URL : base_url/checkout/cart OR base_url/...
3
votes
0answers
405 views

Magento is not working after compilation

Initially, observers are not worked & I found that compilation is enabled.So I have used these steps to disable compilation.But no use.After using the third step.The site itself not working. How ...
0
votes
1answer
90 views

Magento optimisation : Compilation and Use Flat Catalog Product Features

I would like to improve the performance of my Magento website. After checking online, it seems that I can: - Set Use Flat Catalog Product to YES - Enable the Compilation Tool I will do a Cpanel ...
0
votes
0answers
342 views

Magento1 compilation breaks shopping cart

Using Magento version 1.9.3.1 on a live store setup. When compilation is enabled, the shopping cart gives a blank screen. The actual checkout page loads fine, but the shopping cart is blank More info ...
0
votes
1answer
272 views

2.2 theme compilation error [closed]

Hi since updating to magento 2.2 I am getting a theme compilation error. I have contacted the developer but they are in India and take a few days to reply so hoping I can get help here quicker. Thanks ...
0
votes
2answers
371 views

Compile error in theme after updating to 2.1.8

I have just updated from 2.1.7 to 2.1.8 but when I run: php bin/magento setup:di:compile I get an erroe which is: [Exception] Warning: Declaration of Plazathemes\Override\Controller\...
0
votes
1answer
32 views

Magento Mail Up Extension Compilation Problem

when I active the compilation on magento I've this error with Mailup. Any ideas on how to make it work with compilation? Fatal error: require_once(): Failed opening required '/home/mydomain/...
2
votes
2answers
1k views

Magento\Customer\Model\Customer::__construct() must be an instance of Magento\Framework\Model\Context

I have create a module and its working fine when compilation is disabled. Its getting below error when after compilation run. PHP Fatal error: Uncaught TypeError: Argument 1 passed to Magento\...
2
votes
2answers
935 views

Fatal error in magento 2 compilation

After running compilation code php bin/magento setup:di:compile I'am getting the following error Fatal error: Cannot use 'Void' as class name as it is reserved in /va r/www/html/m2/vendor/...
1
vote
2answers
2k views

Using a different PHP version to compile Magento project

I have a site running Magento-CE-2.1.5 in a ubuntu server. I have 2 PHP versions running alongside: PHP 7.0.18 PHP 7.1.6. Each time i try to setup Magento it shows PHP version 7.0.18 but the ...
8
votes
2answers
2k views

What is Compilation in Magento and its use? [duplicate]

I want to know the use of compilation in Magento. How it is helpful in my project and its benefit after enabling it.
0
votes
1answer
717 views

How to set frontend compilation via the database

How do you set the front-end workflow option via the DB rather than the admin? This is the setting I'm referring to: Stores > Configuration > ADVANCED > Developer > Front-end ...
4
votes
2answers
433 views

Magento 1 compile vs Magento 2 compile

We can disable Compilation in Magento 1 in the admin. But there is no settings in Magento 2 in the admin. Also compile is something different compare with m1. Its depending on the mode (default,...
1
vote
0answers
63 views

why Magento2 serves LESS files when I'm in server-side-less-compilation modus?

I have changed my admin-config LESS compilation modus to: Client side less compilation. Now I have changed it back to: Server side less compilation. But my admin panel and webstore still serve less ...
0
votes
1answer
961 views

Magento 2 - Server side vs client side compilation (Pros and Cons)?

What do I need to know to compare Server side and client side compilation mode on my Magento 2 store? This config is on Store > Configuration > Advanced > Developer > Frontend Development Workflow.
0
votes
1answer
740 views

Magento’s Compilation on 1.9.2.4

A quite simple question maybe, but should I enable Magento’s Compilation on my 1.9.2.4 install? Will it improve the speed of my Magento store with 90.000+ products?
4
votes
1answer
473 views

How to compile gallery and calendar css with grunt?

I have put gallery.less and calendar.css in web\mage\gallery and web\mage respectively in my custom theme, But they are not compile with grunt. How can i compile these files with grunt like other ...
2
votes
1answer
576 views

Change background color Magento 2 header panel and compile less on Staging server

In /app/design/frontend/MyThemeName/my-theme/web/css/source/_theme.less I added @header-panel__background-color: @color-green-green1; To change the background color of the header panel (I have a ...
2
votes
2answers
1k views

Error While Compiling Magento 2 admin page module

I'm getting error while compiling the Magento 2 admin module. The error which I'm getting is Fatal error: Class Tutorial\SimpleNews\Controller\Adminhtml\News contains 1 abstract method and must ...
1
vote
2answers
374 views

OptionInterfacePersistor error when compiling magento in production mode

I'm trying to run php bin/magento setup:di:compile-multi-tenant on a Magento CE 2.0.10 with sample data installed. I don't have anything else in this Magento installation. I use php 7.0.8. [Magento\...
2
votes
1answer
5k views

What I do if setup:di:compile fails?

I'm trying to understand what particular impact may have a problem I'm facing with when deploying a Magento 2 project. I run a set of commands in order to update the website and refresh/reindex/...
4
votes
1answer
4k views

Magento 2: Error during compilation Incompatible argument type

In Continue with Magento 2: Error during compilation I have below error while running php bin/magento setup:di:compile Errors during compilation: Custom\Module\Model\ResourceModel\...
1
vote
2answers
2k views

Magento 2: Error during compilation

I have below error while running php bin/magento setup:di:compile Errors during compilation: Custom\Module\Block\BuyingListIndex Incorrect dependency in class Custom\Module\...
2
votes
1answer
575 views

Magento 2 static content deploy error less

I Got this error in compilation [Magento\Framework\View\Asset\ContentProcessorException] Warning: Division by zero in /var/www/html/saaf/vendor/oyejorge/less.php/li b/Less/Functions.php on line ...
8
votes
1answer
5k views

Incorrect dependency ScopeConfigInterface already exists in context object in compilation of magento2

<?php /** * Copyright © 2015 Magento. All rights reserved. * See COPYING.txt for license details. */ namespace Ortho\Featuredproduct\Helper; use Magento\Framework\App\Helper\AbstractHelper; /** ...
15
votes
3answers
8k views

Magento 2 StoreManagerInterface already exists in context object in compilation

I am getting this error in my extension. PackageName\ModuleName\Block\Enhanced Incorrect dependency in class PackageName\ModuleName\Block\Enhanced in /var/www/html/app/code/...
0
votes
1answer
978 views

Magento 2 - can't enable production mode. Shows Command returned non-zero exit code [duplicate]

I am trying to set Magento 2 website in production mode. However unable to set. It gives me below error. Command returned non-zero exit code: /opt/plesk/php/7.0/bin/php -f /var/www/vhosts/...
1
vote
1answer
253 views

Magento 2.1 :- During compilation Fatal error

I complete my own module. Now when i run the below command for compilation. I got the error. Run this command for compilation :- php bin/magento setup:di:compile Fatal error: Uncaught TypeError: ...
2
votes
1answer
1k views

When Compilation and Deployment is required in Magento 2

Its my first project in magento. I am confuse about deployment and compilation. When i do compilation every time after changes i got some error. Also deployment have many more time memory failed and ...
1
vote
1answer
4k views

Compilation error “[ReflectionException] Class does not exist” - Magento 2.0.7

Yesterday I run the command: sudo -u magento bin/magento setup:di:compile And I've got a strange error, the site seems to be running 100% but before Yesterday I didn't use to get any error during ...
1
vote
1answer
385 views

Compiler Enabled on admin, Disabled on cli

My Magento's 1.9.2.1 Admin panel shows: Compiler Status: Enabled Compilation State: Compiled Collected Files Count: 7947 Compiled Scopes Count: 4 If I click on Disable, it says that it's now ...
1
vote
1answer
282 views

backend design gets collapsed when changed to client side compilation mode

After magento 2 installation, when I change to client side compilation mode and save the config the backend design gets collapsed like below, What should be done to resolve this issue?
2
votes
1answer
465 views

Magento2: slow loading after change less file

I'm trying to create new theme. But every time I reload the home page it is going to high CPU loading. My Settings: New theme has just one file: /app/design/frontend/Test/default/web/css/source/...