Questions tagged [autoloader]

The tag has no usage guidance.

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

Auto Load Error during installing Magento

Fatal error: require(): Failed opening required 'C:\xampp\htdocs\Magento2\vendor\composer/../phpstan/phpstan/bootstrap.php' (include_path='C:\xampp\htdocs\Magento2\vendor/magento/zendframework1/...
Sanjay's user avatar
  • 1
0 votes
1 answer
412 views

Magento 2 autoload error : "Magento\Framework\Profiler\Driver\Standard\Output\HTML" doesn't exist

Am getting the following error after I enabled the profiler from the command line Autoload error Cannot create standard driver output, class "Magento\Framework\Profiler\Driver\Standard\Output\...
Radhu's user avatar
  • 169
3 votes
2 answers
855 views

How to interact with APCu?

Magento DevDocs recommends to use APCu. I have enabled it and it works somehow, but I don't why and, and when to do what. I use already apc.php. Can anyone share some knowledge regarding APCu and ...
robsch's user avatar
  • 311
1 vote
0 answers
179 views

Magento:2.3.1 How to remove loader from checkout when changing payment method

How to remove the Loading functionality (loader) from the checkout steps when we change the payment method from one to another in the existed methods?
Rutvee Sojitra's user avatar
1 vote
0 answers
228 views

show loader after every category on home page in magento2 [closed]

On my home page I am showing all products with its categories once on page load. But i wanted to do like for after scrolling down ,after each category product list before next category I wanted to ...
Maruti_magento2's user avatar
0 votes
1 answer
308 views

Cannot setup Magento 2.3 in local due to autoload error?

I have done manual backup of my site and setup it on local bit getting the below error: Autoload error: Vendor autoload is not found. Please run 'composer install' under application root directory. ...
MagentoDev's user avatar
0 votes
1 answer
451 views

Autoload error: '/...app/code//Infortis/Infortis' has been already defined in '/...app/code//Infortis/Infortis'.setup-cron:

This is theme file i installed manually into app folder. noted it is saying it has been already defined in Infortis/Infortis.setup-cron, but i can not find that file or cron schedule. How can I fix ...
Mage Explorer's user avatar
2 votes
0 answers
209 views

Magento2: How to install an external package without composer?

I have some packages installed under the vendor dir. Now, I need a way to take one of them out & place it somewhere else that'll allow editing the files (same as moving a Magento module to app/...
Pini's user avatar
  • 917
1 vote
2 answers
3k views

Magento2 Autoload error

any solution for this error? createApplication(\Magento\Framework\App\Http::class); * $bootstrap->run($app); * -------------------------------------------- * * Copyright © Magento, Inc. All rights ...
sudo55's user avatar
  • 994
3 votes
2 answers
4k views

Magento 2 | How to include third party library by adding at 'lib/'?

This is not about adding by composer. This is about downloading and then using it. For Example: I download TCPDF Library and follows these steps it should be installed and usable but it doesn't works ...
Ajwad Syed's user avatar
  • 1,591
0 votes
2 answers
72 views

Mahento 2: How to incldue third party Library in package for sending to client installed by composer?

I have installed a library (TCPDF) by composer and it is working fine, but I need to send full package for client. How can I add library without composer? I followed this but autoloader is not ...
Ajwad Syed's user avatar
  • 1,591
6 votes
3 answers
6k views

Magento 2 : Plugin autoload error

I have recently move a magento 2.2.5 website to a new server and now when I run an upgrade command or compile command I receive the below error. I have tried deleting any and every folder i can find ...
Jayreis's user avatar
  • 705
0 votes
1 answer
2k views

How to use a library using composer in a Magento 2 module

At the moment I'm developing a module for Magento 2. I'm using a third party library ("twizo/lib-api-php") and installed it using composer. When I use a class from this library, Magento gives me the ...
Djesse's user avatar
  • 1
6 votes
1 answer
5k views

Does composer dump-autoload -o need to be run after setup:di:compile if composer install --optiomize-autoloader hase been run before

Every thing is in the title : Does composer dump-autoload -o really need to be run after setup:di:compile as the official document seem to pretend : http://devdocs.magento.com/guides/v2.2/config-guide/...
Sylvain PRAS's user avatar
0 votes
3 answers
1k views

autoload error in magento2 on local host

I am getting following error during install magento2 on local server. using php v 5.6
Anikesh Shahi's user avatar
0 votes
1 answer
452 views

failed to open stream: No such file or directory in site/link/goes/here/Varien/Autoload.php on line 94

I am getting an error with my Magento site; here's an example of what I am seeing in my error log: [Tue Sep 19 00:02:39.321749 2017] [:error] [pid ######:tid ###########] [client ##.##.###:#####] PHP ...
JDavis's user avatar
  • 1
2 votes
1 answer
72 views

Difference between '_' and '/' when loading classes?

Can someone please explain to me what is the difference? Or if they're equals, but one is "righter" than the other one? For example: I've seen something like namespace_module/helper
Stordon's user avatar
  • 166
0 votes
1 answer
475 views

Error in Autoload.php

I am facing below error while I am trying to insert a product through Magento Admin Panel. 2017-02-27T15:49:25+00:00 ERR (3): Warning: include(Mage/Productslider/Model/Source/Feature.php): failed to ...
abu abu's user avatar
  • 744
3 votes
2 answers
3k views

Magento 1: how to debug a "class not found" autoloader error?

So, I'm facing the almighty "Class Bla not found" error on one of my website. The class file sits in the vendor folder and I'm using an event observer for the autoload: <events> <...
Raphael at Digital Pianism's user avatar
1 vote
0 answers
49 views

How can i avoid overall page load during Search filter [closed]

Supposed to search by filter in my site loads all pages, i need to load only my contents not all my pages. screen shots :
Gem's user avatar
  • 699
2 votes
1 answer
2k views

Composer Vendor Directory : Accessing magento classes from Vendor directory

I have installed a magento module called Mage-Resque using composer. Composer has installed all the components into a directory called Vendor. When I run the module, one of the component needs to ...
Schrödinger's Cat's user avatar
1 vote
0 answers
1k views

Magento 2 How to Make 3rd party API request?

I am trying to make a request to a third party webservice then using the response I would like to save the data/order in Magento 2 using the webApi My approach so far hasn't worked as Magento cannot ...
user1704524's user avatar
  • 2,483
3 votes
0 answers
197 views

Magento 2.1.2 problem with instantiating TotalsItemExtensionInterface

I have a problem with instantiating \Magento\Quote\Api\Data\TotalsItemExtensionInterface Below is my code <?php namespace Vendor\Module\Model\Checkout; class ShippingInformationManagement ...
Rudolf's user avatar
  • 241
1 vote
2 answers
652 views

I want to refresh the page automatically if users clicks on CHECK button

I want to refresh the product page automatically if the user clicks on "CHECK" button of zipcode field. I want to refresh the page automatically every time user click on CHECK button of zipcode or ...
Salman Dalal's user avatar
10 votes
4 answers
15k views

Error after deleting all cache in Magento 2

On deleting all cache as rm -rf var/cache/* var/page_cache/* var/view_preprocessed/* var/generation/* I got below error Warning: ltrim() expects parameter 1 to be string, object given in vendor\...
sagar sapkota's user avatar
2 votes
0 answers
415 views

How can i Update My Product Export time consuming period for Bulk export products [duplicate]

In my store nearest 16,000 products are there, when i try to export both ways import/export or dataflow both are error. But when i export minimum of data i can able to export my products, which means ...
Gem's user avatar
  • 699
1 vote
2 answers
106 views

Rewrite Mage_Eav_Model_Entity_Attribute_Frontend_Default results in unable to find

I'm trying to rewrite a class, although it gives an error in Mage_Eav_Model_Entity_Attribute_Abstract telling me the class Namespace_FormValidator_Model_Eav_Entity_Attribute_Frontend_Default does not ...
Paul's user avatar
  • 11
2 votes
1 answer
2k views

Error failed opening

Can someone tell me what I have to do to fix it ? local:/data/web/public/app/code/community:/data/web/public/app/code/core:/data/web/public/lib:.:/usr/share/php:/usr/share/pear') in /data/web/public/...
Michel Van De Wiel's user avatar
7 votes
1 answer
7k views

using library with namespaces in magento

Im using eBay SDK for PHP from David Sadler https://github.com/davidtsadler/ebay-sdk-examples. That library request to use Composer's autoloader. Code display information like: /** * The namespaces ...
s_h's user avatar
  • 989
1 vote
1 answer
207 views

Mage_Install_Controller_Router_Install failing to autoload

I patched our site with SUPEE 6482 and, once clearing the cache, I get the same issue described here and here: Fatal error: Class 'Mage_Install_Controller_Router_Install' not found in /var/www/.../...
Walf's user avatar
  • 319
3 votes
2 answers
2k views

lib class not found

I am loading a custom class from the lib folder and I'm getting the following error: Fatal error: Class 'NameSpace_MyClass' not found in /dir/to/site/app/code/local/NameSpace/Module/controllers/...
Joshua's user avatar
  • 145
1 vote
1 answer
48 views

Facebook warnings in log [closed]

I am keep getting below warnings : ERR (3): Warning: include(FacebookApiException.php): failed to open stream: No such file or directory in /lib/Varien/Autoload.php on line 94 2015-06-11T11:20:13+...
Anshu Mishra's user avatar
  • 8,960
8 votes
2 answers
753 views

Attributes not found in Mage_GoogleShopping

I installed and configured Mage_GoogleShopping. In the attribute set, the following attributes are configured: Title Description Condition MPN Color Brand Price When uploading products, I get the ...
Alex's user avatar
  • 13.8k