Questions tagged [autoloader]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
23 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/...
user avatar
  • 1
0 votes
1 answer
148 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\...
user avatar
  • 147
3 votes
2 answers
318 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 ...
user avatar
  • 301
1 vote
0 answers
110 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?
user avatar
1 vote
0 answers
129 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 ...
user avatar
0 votes
1 answer
184 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. ...
user avatar
  • 480
0 votes
1 answer
344 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 ...
user avatar
2 votes
0 answers
137 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/...
user avatar
  • 887
1 vote
2 answers
2k views

Magento2 Autoload error

any solution for this error? createApplication(\Magento\Framework\App\Http::class); * $bootstrap->run($app); * -------------------------------------------- * * Copyright © Magento, Inc. All rights ...
user avatar
  • 964
3 votes
2 answers
3k 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 ...
user avatar
  • 1,521
0 votes
2 answers
60 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 ...
user avatar
  • 1,521
5 votes
2 answers
4k 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 ...
user avatar
  • 781
0 votes
1 answer
1k 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 ...
user avatar
  • 1
6 votes
1 answer
4k 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/...
user avatar
0 votes
3 answers
929 views

autoload error in magento2 on local host

I am getting following error during install magento2 on local server. using php v 5.6
user avatar
0 votes
1 answer
439 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 ...
user avatar
  • 1
2 votes
1 answer
65 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
user avatar
  • 166
0 votes
1 answer
471 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 ...
user avatar
  • 694
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> <...
user avatar
1 vote
0 answers
43 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 :
user avatar
  • 679
2 votes
1 answer
1k 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 ...
user avatar
  • 368
1 vote
0 answers
934 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 ...
user avatar
  • 2,443
3 votes
0 answers
194 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 ...
user avatar
  • 231
1 vote
2 answers
447 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 ...
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\...
user avatar
2 votes
0 answers
406 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 ...
user avatar
  • 679
1 vote
2 answers
105 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 ...
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/...
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 ...
user avatar
  • 989
1 vote
1 answer
206 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/.../...
user avatar
  • 319
2 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/...
user avatar
  • 135
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+...
user avatar
  • 8,608
7 votes
2 answers
749 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 ...
user avatar
  • 14.7k