Questions tagged [error]

Questions about PHP error messages and error logs

Filter by
Sorted by
Tagged with
0
votes
1answer
10 views

Magento 2 setup:di:compile not work when create Interface and Repository

When i try to start command setup:di:compile i see this error: Uncaught Error: Interface 'WebbyTroops\Subscription\Api\SubscriptionRepositoryInterface' not found in /var/www/html/hajery/app/code/...
0
votes
1answer
14 views

Magento 2 checkout troubleshooting steps

When I check the basket abandonment report under report>marketing section, I notice December has at least 5 times more basket abandonment rate if compared to the previous months. I would like to ...
0
votes
1answer
22 views

Type Error occurred when creating object after Upgrading to magento 2.1 to 2.4.3

I have Upgraded my Magento 2.1 to 2.4.3 after upgrading I am facing some issues like Service with name "Magento\Indexer\Console\Command\IndexerReindexCommand" could not be created. Reason: ...
0
votes
2answers
29 views

Magento 2 - Creating a new store view throws error - Integrity constraint violation

I need to create a new store view, but I get this error: Integrity constraint violation: 1062 Duplicate entry 'studioline-4' for key 'URL_REWRITE_REQUEST_PATH_STORE_ID' I checked the database, but ...
0
votes
0answers
16 views

Error: Call to a member function hasErrors() on null

Error: Call to a member function hasErrors() on null public_html/vendor/magento/module-shipping/Model/Shipping/LabelGenerator.php:78 Stack trace: #0 /home/adminironcar/public_html/vendor/magento/...
0
votes
1answer
12 views

Magento DOM error XML

I got some errors when I setup:upgrade my file in Magento 2. this is the error : Warning: DOMDocument::loadXML(): Empty string supplied as input in /home/cloudpanel/htdocs/swift/vendor/magento/...
0
votes
1answer
50 views

Ugrade 2.4.2 to 2.4.3 error: Integrity constraint violation

I was trying to upgrade from 2.4.2 to 2.4.3 in my test environment. While trying to run bin/magento setup:upgrade, The below error appeared: SQLSTATE[23000]: Integrity constraint violation: 1062 ...
0
votes
1answer
32 views

Magento 2.4 Error during upgrade: Schema binary is not declared

When I run the setup:upgrade command I get the following error: Cache cleared successfully Schema creation/updates: Types binary is not declared The front end seems to work fine. I also found binary ...
0
votes
0answers
21 views

Cart Price Rules always applied - regardles of storeview, status or even expiry date

I have a problem with Magento 2 (2.4.3-p1) where the Cart Price Rules are always applied to products on the checkout. Regardless of the rule is active, conditions are met, the coupon code was entered ...
0
votes
0answers
34 views

"There was a category move error" when trying to move a subcategory up 1 level to main category

Magento 2.4.2-p1 Smartwave Porto theme extensions from Amasty We are trying to move a subcategory up one level to make it one of the main categories and we get the following non-descriptive Error: ...
0
votes
0answers
27 views

Magento admin not showing any messages

Admin not showing succusses or error message.We have upgraded Magento2.2.8 to Magento2.3.7-p1
1
vote
0answers
37 views

Magento 2.4.3: Getting Error while reindexing

I have got this error while running the magneto reindexing command, See attached screenshot: https://i.imgur.com/uZD7Zmb.png, Please anyone has solution then help me
0
votes
0answers
9 views

Exception #0 (BadMethodCallException): Missing required argument $action

i got a problem with plugin. use Magento\Framework\App\Action\Context; use Magento\Framework\App\Request\DataPersistorInterface; use Orba\AfterContact\Api\Data\ActionControlInterface; use Magento\...
0
votes
1answer
33 views

Magento 2.4.3 upgrade error

I just upgraded from Magento 2.3.6 to 2.4.3 near the end of the installation I received this error: Does anyone know why I get this error? What does it mean? We do have MSI disabled in case that has
0
votes
2answers
71 views

Upgrading from Magento version from 2.3.6 to 2.4.3 getting Elastic Search error

I'm trying to upgrade my Magento version from 2.3.6 to 2.4.3 and when I start I get this error: Problem 1 - Can only install one of: elasticsearch/elasticsearch[7.11.x-dev, 6.x-dev]. - Can only ...
1
vote
0answers
19 views

How to Resolve Payment Request is not defined error in GPay using Magento 2?

I have integrated Google Pay Extension from the marketplace. https://marketplace.magento.com/unboundcommerce-module-googlepay.html After integrating on my local machine and Configured with Test ...
0
votes
0answers
10 views

In Magento ver. 1.9.3.3 Json Error Show

JSON Error show in Design It Tool Check attachment and link https://personalitees.com.au/pd/design/index/id/3/
0
votes
2answers
76 views

Magento 2.4, Error occurs when adding or modifying products in admin, how do I resolve this?

Error: Class 'Magento\Catalog\Observer\SetSpecialPriceStartDate' not found in /var/www/html/mage/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:121 Stack trace: #0 /var/www/html/...
0
votes
2answers
25 views

Error when adding new products to Magento 2

We are having an issue when we add new products. You cant search the product in the store and when you go directly to the url https://www.vikingtelecomsolutions.com/viking-e-30tf-ip-stainless-steel-...
0
votes
0answers
9 views

Incorrect redirects 302 from category/pages to homepage - Magento

Sometimes after clicking on a search result in Google, but also in URL on other websites/google docs etc., the user is redirected (using a 302 redirect) to the home page, not to the appropriate ...
0
votes
1answer
90 views

Magento 2.4 "Bad Request 400 Exception" when using Elasticsearch

I've recently upgraded my Magento version 2.4 and set Elasticsearch as the catalog search option, testing the connection gives a success message but when I try to search on the site itself I get an ...
0
votes
1answer
63 views

Class ... does not exist In classReader.php line 34 in magento2

Just got a problem while compiling: Compilation was started. Area configuration aggregation... 5/9 [=======>-----] 55% 1 min 326.0 MiB In ClassReader.php line 45: Impossible to process constructor ...
0
votes
0answers
10 views

Magento widget not pulling through

I have a Magefan blog widget that is pulling through the widget code on the frontend on the dev site but it works on my local! The module is up to date on both sites but I'm not sure why it's working ...
0
votes
1answer
32 views

Please enter a valid credit card type number

we have Magento 2.25 and recently it stopped accepting credit cards. We were originally using authorize.net and when a user enters a credit card number it comes back with an error that says "...
0
votes
1answer
159 views

Magento 2 Graphql Exception handling

I would like to customise the error messages displayed in my GraphQL queries for a coupon code in m2. You should implement the \GraphQL\Error\ClientAware interface to handle errors in your module ...
0
votes
2answers
33 views

Magento 2 custom CLI file thrown error when call function from block?

What I do wrong in my cli command file? thrown error when try to clean cache like this "There are no commands defined in the "cache" namespace." class Hicustomer extends Command ...
0
votes
0answers
24 views

Magento 2 : Getting Error on Frontend After Upgrade

I have upgraded the Magento version from 2.3.5-p1 to the Latest Magento Version: 2.4.3, and I am getting this error on frontend: https://i.imgur.com/3fJCs32.png when I have checked the error log file (...
0
votes
2answers
36 views

Magento 2: Unable to write file into directory

After installing Magento 2.4.1 I am getting this error: Exception #0 (DomainException): Unable to write file into directory /var/www/html/magento2/pub/media/catalog/product/cache/...
0
votes
0answers
30 views

product not saving - getting error (Warning: Invalid argument supplied for foreach() in /home/..../Validator/NotProtectedExtension.php on line 84)

while creating the new products its throwing below error "Warning: Invalid argument supplied for foreach() in home/....../public_html/vendor/magento/module-media-storage/Model/File/Validator/...
0
votes
1answer
61 views

Reindex - 401 Authorization Required - nginx

I have set up a local version of our Magento 2 store on my local machine running on Valet+ with Docker serving Elastic Search. Everything is working great, except I am running into a few errors when i ...
1
vote
1answer
110 views

Invalid template file: 'Magento_catalog::product/list.phtml'

I noticed I am getting error in my magento 2.2.6 website's system.log continuously [2021-09-16 10:10:56] main.CRITICAL: Invalid template file: 'Magento_catalog::product/list.phtml' in module: '...
0
votes
2answers
41 views

How to Fix 500 Internal Server Error in Magento 2?

500 error in Magento 2 I faced at the time installation or up gradation of Magento, or while I backup the system on the product page or login admin page.
0
votes
1answer
35 views

Magento 2 Check if error then redirect to custom url

I am using create post plugin. But the issue with this is, I want to redirect it to a custom URL if an error occurred in createPost() default to execute the function. For example, if a customer with ...
0
votes
0answers
17 views

Page builder error after upgrade

we have updated Magento from version 2.4.2 to 2.4.3, the only error we encounter is this Error: Call to undefined method Magento\Eav\Api\Data\AttributeExtension::setIsPagebuilderEnabled() in /var/www/...
0
votes
1answer
30 views

Magento 2: Error on reindex

I have recently upgrade my instance from Magento 2.3.0 to 2.4.3 and products are not showing on the frontend. When I run php bin/magento indexer:reindex command I get this error: Any help will be ...
0
votes
0answers
22 views

Magento 2: Error on customer account creation from frontend after uprade from 2.3.0 to 2.4.3

I am getting this error on creating a new customer account after upgrading from Magento version 2.3.0 to 2.4.3: Please help.
0
votes
1answer
157 views

Magento2.4.2 Checkout Infinite loop detected When Using Discount Codes

I am getting a strange error with Magento. When I go to checkout out and do store pickup, set up a coupon code to pay for item and then I hit the checkout button, I get thrown this error page. Any ...
0
votes
1answer
718 views

Magento 2: Errors on running setup:di:compile after upgrade from Magento version 2.3.0 to 2.4.3:

I am getting this error after upgrading Magento version 2.3.0 to 2.4.3. Repositories code generation... 1/9 [===>------------------------] 11% < 1 sec 123.0 MiBClass 'Magento\Framework\Search\...
0
votes
0answers
19 views

How to create Admin grid of Category same as Product Grid?

I want to display Admin Grid for categories same as Product Grid without using UI Component. I am trying to get Collection of category using below code in _prepareCollection method inside Grid.php of ...
0
votes
0answers
24 views

Magento TypeError: Cannot read property 'quoteData' of undefined

main.js:37 TypeError: Cannot read property 'quoteData' of undefined at quote.js:33 This error is appearing in the browser console and is happening on several pages. Mainly on the registration page. ...
0
votes
0answers
43 views

How to debug that my all error message is not showing in Magento 2?

I have a Magento 2 Store. So i when i try to login with wrong cred. it just doesn't show me error its just reload the page like this. i have switched the theme but there is still the same issue on ...
0
votes
1answer
139 views

503 service unavailable magento 2.4.3 update

Got a 503 service unavailale for https://takoda.shop/ , only it is not maintenance, because maintenance.flag is deleted and also disabled. I did a new magento update yesterday, everything was ...
0
votes
1answer
24 views

How to stop user login in Magento 2?

I want to stop user login in Magento 2 for some customers. So I created a back-end setting for customers to be blocked by the website and successfully get it done. But on the front end part, it is not ...
0
votes
2answers
39 views

Magento 2: Custom module error Class OAuth\Common\Storage\Session does not exist

I have using Magento 2.4.2 enterprise edition and install custom module after run command php bin/magento setup:upgrade and then run command php bin/magento setup:di:compile but facing error while run ...
0
votes
4answers
1k views

Duplicate entry in DB after upgrading to 2.4.3

I am having this strange issue when trying to upgrade magento 2.4.2p1 to 2.4.3 In bin/magento setup:upgrade I get: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '543741' for ...
0
votes
0answers
46 views

Uncaught ReferenceError: google is not defined magento 2.3.2 in production mode

I am working with magento2.3.2.I am adding Google Maps to the template file. And it is adding successfully in the development environment but facing issues in the production server. I have attached a ...
0
votes
3answers
155 views

Error when copying a product or moving a category: The value specified in the URL Key field would generate a URL that already exists

Migrated Magento 1.9.4 --> Magento 2.4.2-p1 We migrated all data except orders from our production Magento 1.9.4 site to Magento 2.4.2-p1. Everything seems to work in the new Magento except when ...
0
votes
0answers
56 views

Overriding model file of third party extension magento2.3.2: Type Error occurred when creating object

I am using amasty store locator extension. and I am customizing one of the model files of the extension.The file which i want to override is located inside Amasty/Storelocator/model/location.php. But ...
0
votes
3answers
100 views

Error during compilation after upgrade from 2.4.1 to 2.4.2

I have below error while running php bin/magento setup:di:compile Compilation was started. Repositories code generation... 1/9 [==>----------------] 11% < 1 sec 105.0 MiB Interception cache ...
0
votes
1answer
22 views

magento cli error after module installation by composer

i use magetno 2.2.3 . the bin/magento cli is working fine until I add a module by composer require [module name] --ignore-platform-reqs.after that it gives me a long term error : so how should I ...

1
2 3 4 5
40