Questions tagged [error]

Questions about PHP error messages and error logs

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

TypeError: sections is undefined in section-config.js:50:30 Magento 2

I am getting this error TypeError: sections is undefined in section-config.js:50:30 in firefox but not in chrome. I added <referenceContainer name="content"> <block name="customer....
0
votes
0answers
7 views

Error parsing header X-XSS-Protection: 1; mode=block, 1; mode=block: in magento 2

I am getting this error in chrome console. But it is not displaying in firefox. Kindly help me to resolve this. I am using Magento 2 version.
0
votes
0answers
8 views

Getting import errors from csv even though data is valid

When I try to import products via csv, I get import errors on valid fields. For example, I have a color column, and sometimes it'll randomly throw an error for Black or White. Is there a place that I ...
1
vote
1answer
69 views

Magento2 staging getting error in my custom module

I am facing this error in our staging environment Exception: Warning: array_key_exists() expects parameter 2 to be array, null given here added my code $hash = array(); $hash['0'] = 'test'; $...
2
votes
1answer
64 views

Magento2 Backend Not Add Product So give me Solution

Magento2 Backend Not Add Product So give me Solution Here is my EXCEPTION.LOG [2019-04-16 13:09:11] main.CRITICAL: Cannot gather stats! Warning!stat(): stat failed for /home/ywndev/domains/dev....
2
votes
2answers
865 views

Magento 2: The configuration parameter “componentType” is a required for “product-details” component

I am getting the following error when I try to edit a product in Magento Admin. What should I do solve this issue? Exception #0 (Magento\Framework\Exception\LocalizedException): The configuration ...
0
votes
0answers
21 views

Did Magento change the language of API error messages with 2.3.2?

Starting with the upgrade to 2.3.2 it seems like error messages of the REST API are localized now. For example the error message "Database deadlock found when trying to get lock" is now "Database ...
10
votes
2answers
12k 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\...
0
votes
1answer
33 views

Uncaught exception 'TypeError': ImageBuilder::setProduct() must be an instance of Magento\Catalog\Model\Product

I'm seeing the following error log in New Relic. This error logs very rarely, and comes from adding a product to the cart: TypeError: Uncaught exception 'TypeError' with message 'Argument 1 passed ...
1
vote
1answer
924 views

Import csv issue (product.php on line 1407)

I just install the magento 1.9.2 and try to import my csv file through System -> Import - > Import. I received the following error message: Notice: Undefined index: _attribute_set in /app/code/core/...
0
votes
1answer
15 views

Even after Adding Form Key in phtml Magento 2.3 shows invalid form key error often

I added Form key in all forms. But in some forms still, I am getting Invalid form key Please refresh error often. How to solve this? Is I need to add further things to solve this? Kindly help me.
0
votes
1answer
14 views

I am getting Cannot read property 'sectionLoadUrl' of undefined in particular form in magento 2.3.0

This getting this error on a particular form in Magento 2.3.0. I think this error causes invalid form key sometimes when submitting the form. How to solve this following error. Uncaught TypeError: ...
0
votes
1answer
17 views

Invalid Form Key. Please refresh the page while creating new users in Magento 2.3

Whenever adding new users or editing, updating the products in frontend shows the error Invalid Form Key. Please refresh the page. *I increased the value of input_max_var but still it showing the ...
1
vote
1answer
996 views

How to create Configurable Product Programmatically

I have found some question same my own but have not found out the answer. I want to create a configurable product. I have create a form to save the product and get the child product details in ...
1
vote
1answer
3k views

“An error has happened during application run.” error while installing Magento 2.1.2 with sample data

I've uploaded Magento 2.1.2 CE on my server and want to install it. But after one minute, I get this error: An error has happened during application run. See exception log for details. This is ...
0
votes
1answer
35 views

Uncaught Error: Function name must be a string magento 2

Fatal error: Uncaught Error: Function name must be a string in /Applications/MAMP/htdocs/magentoshop/app/code/Magestore/couponoverride/Model/CouponManagement.php:74 Stack trace: #0 [internal ...
1
vote
1answer
192 views

Magento 2 Readiness check error

I am getting the following error on the readiness check step: We found conflicting component dependencies. Command "update" failed: Loading composer repositories with package information ...
0
votes
0answers
6 views

Magento 2 w/ Vagrant Scotch Box - Grunt can't create symlinks!

I'm working with Magento 2 on a Vagrant box (Scotch box to be exact), every time I try to run grunt exec I get this error: Cannot create a symlink for "/var/www/public/app/design/frontend/Creation/...
1
vote
0answers
66 views

Magento 2.3.2, Amazon Sales Channel: Invalid security or form key. Please refresh the page

I have installed amazon sales channel v2 for magento 2.3.2 store. Now when I try to click 'Connect to amazon store' from 'Setup Amazon Store' section, I'm getting error 'Invalid security or form key....
0
votes
1answer
3k views

Magento 2.2 Fatal error: Uncaught ReflectionException: error

i created a new module, after runing this command php bin/magento module:enable myFirstModule i am getting this error. Fatal error: Uncaught ReflectionException: Class Magento\Framework\App\...
0
votes
0answers
14 views

Magento 2.2: If you create a delivery slip at the same time as an invoice on the management screen, it will cause an error

[Prerequisites] We have created configurable and simple products. [reproduction method] I selected the color and size from the configurable items and bought a simple item. The delivery slip was ...
0
votes
2answers
44 views

Magento 2: Extension Validation error for marketplace

marketplace, I am validating my extension but i have two extentions in one directory Here is Zip directory structure is: Module Zip folder ABC.zip module1 module2 getting error: More ...
1
vote
1answer
25 views

M2 Fatal error on saving customer account

Using Magento 2.3.1 we're getting the following error when trying to save any update to a customers account from the back-end... Fatal error: Uncaught Error: Call to a member function getProduct() on ...
4
votes
2answers
5k views

require.js error on Magento 2

And because of this error, sometimes the cart and checkout pages don't load properly. Any clue how to fix this? I've already tried to regenerate the pub/static folder, but it's still the same. Thanks ...
0
votes
0answers
9 views

Magento2 backend - can't save product SQL query stuck or validation error

We have run into a problem recently on our Magento 2.3.1 store. When trying to save a product on the backend, the loading screen runs forever (or until the SQL sever gives up). It comes with a "false"...
0
votes
1answer
23 views

Magento 2 : Rest API error the requested URL returned error: 401

We have to test rest API is working or not in magento 2.3 but on my local project work only live site API not working. We have to check site open or not using curl but it's not working. I am not able ...
0
votes
2answers
1k views

Helper Data not found - Can't access admin panel

Admin Panel only shows the following message: Fatal error: Class 'Mage_Sean_Adminmerchant_Helper_Data' not found in /home/makeyou/public_html/app/Mage.php on line 546 I deleted all files within: ...
0
votes
0answers
27 views

I am getting an error when i run setup : Magento 1

I am getting below error: Call to a member function getDefaultStore() on boolean in D:\wampstack\apache2\htdocs\juliasvn\app\code\core\Mage\Core\Model\App.php on line 562 can anyone have any ...
0
votes
0answers
23 views

DB Error SQLSTATE[42S02]

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'mavikmarine_l2li.m_catalog_product_flat_1_tmp_indexer' doesn't exist, query was: UPDATE m_catalog_product_flat_1_tmp_indexer AS et ...
0
votes
1answer
25 views

How to remove Warning: DOMDocument::schemaValidate(): Invalid Schema [duplicate]

When I run my magento 2.3.1 ver. on localhost in morning then comes below error Warning: DOMDocument::schemaValidate(): Invalid Schema So please let me help.
4
votes
1answer
1k views

Grunt watch doesn't watch _theme.less and custom less file

That's my css/source file structure: https://i.stack.imgur.com/5tNxJ.png I made grunt clean, theme exec, theme less, watch. Watch is responsive to any less file changes accept of _theme.less and ...
0
votes
2answers
33 views

Magento 2 : install error

i want to install on windows with wamp server, but it always take error when 36% like this: Starting Maijindou installation: File permissions check... Enabling Maintenance Mode... Installing ...
0
votes
0answers
17 views

Magento 2.3.2 Rest API Showing 401 Authorization Required

I am trying to use the Magento 2.3 Rest API, using token authorization. when I try to GET data back from one of the endpoints using the token in an Authorization Bearer heading, I get an HTTP 401 ...
0
votes
2answers
54 views

Error Array to string conversion in vendor/magento/framework/DB/Adapter/Pdo/Mysql.php on line 3101

When i tried to edit an image in custom module i am getting an error like below. 1 exception(s): Exception #0 (Exception): Notice: Array to string conversion in /var/www/html/vendor/magento/...
2
votes
2answers
463 views

Magento 2 Down: replica Tales not found when reindexing!

My server went down because the disk was full, after fixing it, I noticed that the magento 2 website never came back: (Magento 2.2.4, PHP 7.0.30) When re-indexing, i get the following error: ...
5
votes
2answers
4k views

“403 Forbidden” error page when trying to open Magento 2 setup page

I'm trying to install Magento 2 on a Godaddy Ubuntu virtual machine. After following what is in the installation manual (hopefully), and when I reached to the step of opening the setup page of the ...
2
votes
3answers
84 views

Magento 2.3.2: Uncaught Error: Call to a member function setUseContainer() on boolean

I'm facing this error when i try to login as customer, but when i go back or at Home i was logged in but every time i logout & login back, i face this error, also when i was logged in and go to My ...
3
votes
1answer
402 views

Magento 2: Uncaught TypeError: Cannot read property 'items' of null for restricted permission user

Note: This is not a duplicate of any similar error I have found a strange bug in Magento 2. It shows the following error in the browser's console for only restricted admin user (the user which has ...
0
votes
1answer
19 views

Error in magento 2.3 Class Does Not Exist in backend and frontend

I upload my magento 2.3 on my server, so when i navigate in the frontend the navbar is disappeared see the photo so when change the mode to developer, to see the error in backend output print this ...
2
votes
2answers
3k views

Magento - upgraded to 1.9 - admin not loading images & js because 403 error

I am going through the painstaking process of upgrading from 1.6 to 1.9 I choose to do a fresh install of 1.9 instead of each variation. I followed these steps and seem to have gotten pretty good ...
1
vote
1answer
1k views

Upgrade to 1.9.2.2 - Base table or view already exists: 1050 Table 'mage_permission_variable' already exists

I am trying to upgrade to 1.9.2.2 from 1.9.2.1 through Magento Downloader. On the little screen at the bottom I am getting the error message below: Exception during cache and session cleaning: ...
0
votes
0answers
25 views

magento 2.2.8: mail attachment not working

I have installed email attachment extension https://github.com/manishjoy1993/email-attachment in magento 2.2.8 version and it throw some errors. Errors mentioned in following image. And there are ...
7
votes
3answers
3k views

Developer mode on production environment

I was recently contacted by a client to evaluate their Magento store. I realized that the store (even though running in production) had developer mode enabled in their index.php file: if (isset($...
0
votes
0answers
12 views

Magento 2 Image resizer error

I've installed a Instagram feed module from Amasty, but am getting this error from a module clash I believe: Error filtering template: Recoverable Error: Object of class Staempfli\ImageResizer\...
0
votes
1answer
18 views

Magento 2.2.8: How to solve the message “Unable to send email”?

I have just installed magento 2.2.8 in XAMPP in local and run folllowing code but it throw error "unable to send mail" then after When I changed password for customer,it throws same error I executed ...
0
votes
0answers
86 views

Magento 2.3.2 Failed to load the “Magento_GiftMessage/js/view/gift-message” component

On cart page I am receiving this error in console: Failed to load the "Magento_GiftMessage/js/view/gift-message" component *Applied coupon code "test123" not showing in cart page summary. ...
0
votes
0answers
26 views

Extension submission failing in Technical review

While submitting an extension, it failed the Technical review, and the test reports show this error: Command: Varnish PageCache Test Output: Cannot update product price. Response: {\"messages\":{\...
0
votes
0answers
24 views

Magento 2.2.8 mail functionality does not working

I tried to send mail code in magento 2.2.8 but it throw error I am using below code for sending a mail in magneto 2.2.8 $transport = $this->_transportBuilder ->...
4
votes
1answer
2k views

magento2 -custom layout file not loading

i have followed the below link in order to get check if our custom layout xml file is loaded or not using the event: layout_generate_blocks_after In the log file i just get: 2016-06-29T11:07:40+00:...
0
votes
1answer
40 views

CSS and JS not rendering from pub/static folder after installation of Magento 2.2.8

I have just installed Magento 2.2.8 and it throws an error on home page then I ran following commands php -dmemory_limit=6G bin/magento setup:static-content:deploy -f php bin/magento cache:clean ...