Questions tagged [error]

Questions about PHP error messages and error logs

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

Uncaught SyntaxError: Unexpected token < in JSON at position 1 - Magento 2.3.5

I upgrade from magento 2.2 to 2.3.5 today, and is encounter the following error, also the checkout page shows nothing but the store header/logo area. ( the shopping cart page is ok), i think the ...
0
votes
0answers
5 views

magento 1 links with error

Good night my friends. Shaking the customer's store for a while and suddenly the magento 1 links stopped being redirected. I was currently working on css. This occurs in the products and categories of ...
0
votes
0answers
6 views

Error : Unable to send the cookie. Size of 'mage-messages' is 4155 bytes

I'm currently getting the following message in the logs over and over again currently on Magento 2.3.5-p1: Unable to send the cookie. Size of 'mage-messages' is 4155 bytes at vendor/magento/framework/...
0
votes
0answers
12 views

Magento 2 error:The file doesn't exist. Verify the file and try again

When I trying to upload CSV from admin site in var folder Magento through below error Attention The "/var/www/html/pub/media/var/www/html/var/test/c/a/test_3.csv" file doesn't exist. Verify ...
0
votes
4answers
28 views

ReflectionException: Class Interceptor does not exist in /var/www/html/vendor/magento/framework/Code/Reader/ClassReader.php:19

I'm getting this error on my homepage ReflectionException: Class Magento\Framework\App\Http\Interceptor does not exist in /var/www/html/vendor/magento/framework/Code/Reader/ClassReader.php:19 Stack ...
1
vote
2answers
21 views

Cannot override class RuleProductPricesPersistor in Magento 2

I'm trying to override following class Magento\CatalogRule\Model\Indexer\RuleProductPricesPersistor Using below code <preference for="Magento\CatalogRule\Model\Indexer\...
0
votes
0answers
11 views

smtp_error in when we test the email

can anyone help me to solve my problem "A technical problem with the server created an error. Try again to continue what you were doing. If the problem persists, try again later." when we ...
0
votes
0answers
18 views

Magento 2.3 - What should i do if Data Migration stopped?

My data migration stopped due to putty time out error, after a set keep alive how to do further, shall i run again or revert everything (How to do this) and run again?
0
votes
1answer
33 views

Magento2 Installation Error help

Hello I have Downloaded MAMP and Magento using but Can't INSTALL! First I used this download magento, composer create-project --repository-url=https://repo.magento.com/ magento/project-community-...
0
votes
1answer
20 views

Magento 2: After migration, I get “No such entity with cartId” on old orders

I migrated from Magento 1 to Magento 2.3 My site has multiple websites and stores. But now when I go to old orders in the admin panel and want to add a note to an order I get the error: No such entity ...
0
votes
1answer
46 views

Type Error occurred when creating object

I am having the massaction "delete" in the ui_component and it is then process by a controller MassDelete in my adminhtml folder. like this: <?php namespace Apriljune\Testimonial\...
1
vote
0answers
9 views

Autorize.net issue in Magento 2.3.3

I have enable Authorize.net as a payment method in magento 2.3.3 I have entered all corrects details in backend. https://prnt.sc/tiu0ue Environment is set to Sandbox. My sandbox account is also in ...
2
votes
1answer
23 views

Using Observer stop execution of next function in Magento 2

I am using an observer on event sales_order_save_before to check for a condition and based on that condition I was to stop the save functionality. Currently I am using it on Submit Comment in Sales ...
1
vote
0answers
18 views

Notice: Undefined index: quantity

I am currently facing a problem with the below error and was hoping if someone could help. Notice: Undefined index: quantity in /public_html/Magento/vendor/magento/module-inventory-sales/Model/...
1
vote
1answer
30 views

Item (Magento\Wishlist\Model\Item) with the same ID X already exists

I am having a strange problem with my Magento installation. As soon as I add a product to my wishlist (any customer), I am getting the following error in the browser's console: Item (Magento\Wishlist\...
2
votes
2answers
19 views

Error filtering template: The entity that was requested doesn't exist. Verify the entity and try again

I am trying to fetch the order details $order = $objectManager->create('\Magento\Sales\Model\OrderRepository')->get($orderId); Order id is correct 000000020. In var log main.CRITICAL: The entity ...
3
votes
0answers
19 views

Magento 2.3 - After setup Multi-website CSS unknown error - LEMP (Centos 7 - Nginx)

After configure multi website using https://magento.stackexchange.com/a/117930/57334 css not loading. Note: My main website working, multi Website only getting this error.
0
votes
0answers
23 views

Magento 2 - Product category not showing - “ERR_INVALID_RESPONSE”

There is a category on my website which does not work. If I try to open it: https://example.com/insektenschutz/fenster/spannrahmen then it shows: The website is not accessible The website at https://...
0
votes
2answers
33 views

Magento 2 website no longer loads after running compile command

I'm currently developing a website on a local installation of Magento 2. I was following advice on how to add a .phtml file to my pages. Customize Footer in magento2 I followed one solution that ...
0
votes
0answers
64 views

error: “UI component could not be rendered because of system exception”, errorcode: “42” Custom Grid Magento 2.3.5

I have created 10 columns and but if i am using 9 columns then grid is loading but once i enable 10th column it's giving an error:"UI component could not be rendered because of system exception&...
0
votes
1answer
18 views

How to configure the 500 error page in magento 2

Is there a way to set up a custom 500 page error in magento 2? I tried to add a 500.phtml file in the pub/errors/default directory but this method only works with 404 errors and maintenance error 503. ...
0
votes
1answer
34 views

PHP 7: How to create a separate log file in PHP to log only the order data(Order info retrieved from an Magento Order object)?

I have an application developed to manage the orders, vendors and many more things. The default error_log() functionality has already been in use across the application coded in PHP to log not only ...
0
votes
0answers
12 views

Magento 2.3.3 : Triggering error report.php / report.phtml

I need to test the customization of the pub\errors\default\report.phtml template. I need ways to trigger the report error and land on report.phtml page. I found other posts where we can trigger 404, ...
1
vote
1answer
26 views

Uncaught Error: Call to undefined method :getUrl

i have an error which says Uncaught Error: Call to undefined method getUrl. The method getUrl is called in a block use Magento\Framework\View\Element\UiComponent\Control\ButtonProviderInterface; class ...
0
votes
1answer
17 views

Debugging Magento 2 cron errors when no message is left?

Quite often when I'm attempting to create a CRON job I'll mess up along the way and the job will fail to run. Typically I'd check my logs and see where I went wrong, put the missing semicolon back, ...
0
votes
0answers
28 views

Magento2 Unable to send mail: Unknown error, on php 7.2.3

I've created a custom email functionality. It's working fine on the PHP 7.2.2 version server. But it's not working on a PHP 7.2.3 server. Case 1 Magento Version: 2.3.3 Php version: 7.2.2 Result: ...
0
votes
0answers
14 views

If the invoice was created offline, try creating an offline credit memo. Magento2.3.4

Getting error when try to create online refund. If the invoice was created offline, try creating an offline credit memo.
1
vote
2answers
23 views

Error : Incompatible argument type

I am facing an error while running command di:compile This is my block file <?php namespace Company\Module\Block; class Booking extends \Magento\Framework\View\Element\Template { /** * ...
0
votes
0answers
23 views

Magento 2 checkout loader is stuck

I've seen this question a couple of times, but i wasn't able to solve my problem. My checkout page loads fine but the "loader" gif doesn't go away and I can't interact. Usually refreshing ...
0
votes
0answers
14 views

Sitemap Generation Issue - URLBuilder - must be type of string - error

I am trying to generate a sitemap.xml file in the Magento 2.3.5-p1 admin area, however I get a blank screen after clicking generate. I check the php logs and receive this error: AH01071: Got ...
0
votes
1answer
37 views

checkout page is keep loading and error in magento 2

1. Checkout page error: user login after click the checkout Exception #0 (Zend_Validate_Exception): Validate class not found from basename 'Magento\Framework\Validator\EmailAddress 0 /var/www/...
0
votes
0answers
7 views

Magento 2 - 500 Internal Server Error when try to customer inline edit

When i am trying to edit customer data through inline edit i am getting 500 internal server error. As far as i debug it's giving the error when calling customerRepository->save($customer) function in ...
1
vote
1answer
79 views

Royal Mail Click and Drop will not Integrate through Firewall Reverse-Proxy

Our Magento 2 (Magento Commerce Inc. Magento ver. 2.3.4-p2). Was previosuly integrated with Royal Mail Click and Drop and our orders on Magento migrated automatically to Click and Drop. We have ...
0
votes
2answers
34 views

Magneto 2 setup - incorrect permissions

After install magento 2.3.5-p1 i got exception on setup page (in web setup). PHP Fatal error: Uncaught Zend_Cache_Exception: cache_dir "/var/www/html/magento2/var/page_cache" is not writable in /var/...
0
votes
1answer
67 views

Uncaught Error: Mismatched anonymous define() module: function(t,g,u)

I have a fresh installation of Magento but this error is showing on all of the pages.This may be duplicate of some other but I cannot find solution for my problem so asking here. When I trace back it ...
0
votes
1answer
51 views

Magento 2.3.5 Checkout Shipping Methods cURL error 7 Exception

Magento Version: 2.3.5p Hey guys, I am not sure if you have gotten a similar error during checkout: Internal Error. Details are available in Magento log file. Report ID: webapi-5ed2c83e06062 ...
0
votes
0answers
20 views

Magento Checkout page goes hangs and infinite loop circle revolves after Paypal Payment fails

When customers is doing transaction on our website and going for payment to paypal and enters all details related to payment. The user lands on checkout page on our magento website and circle spins ...
1
vote
3answers
36 views

Grid collection issue after migrating magento 2.3.0 to 2.3.4

I had to upgrade magento 2.3.0 to magento 2.3.4 on the project I am working for. I had the following issue that I don't really understand : system.log : [2020-05-26 10:15:46] report.ERROR: Type ...
0
votes
2answers
27 views

Database not creating tables for new extensions on bin/magento setup:upgrade. Declarative Schema is not up to date

I installed Magento 2.3 successfully, with custom style sheet and Mageplaza Blog ext which all works fine. I wanted to install a slider module and I have done this through ssh. Composer installs the ...
0
votes
1answer
40 views

Trying to Save Customer Account Causes 500 Error

Whenever I try to save a particular customer account the screen changes to the following: This page isn’t working www.mywebsite.com is currently unable to handle this request. HTTP ERROR 500 The ...
0
votes
1answer
48 views

Magento 2 website crash always

Hi today i have noticed my website crashes always . so i have seen many kind of errors in website (An error has happened during application run. See exception log for details. Could not write error ...
0
votes
0answers
13 views

Request validation failed for action "Apriljune\Testimonial\Controller\Index\Add\Interceptor

Here is the controller that is responsible for adding the form data from frontend to multiple database tables. namespace Apriljune\Testimonial\Controller\Index; use Magento\Framework\App\Action\...
0
votes
0answers
32 views

Cant install magento/pwa

I am trying to install Magento with pwa,but when i run in terminal command yarn create @magento/pwa, and after answer of the question- Im getting an error-- Invalid directory path; contains illegal ...
1
vote
0answers
28 views

error on front end of website

I am getting this error when trying to load the homepage of the website: a:4:{i:0;s:37:"Object DOMDocument should be created.";i:1;s:13313:"#0 /var/www/vhosts/fakedomain.com/httpdocs/vendor/...
0
votes
1answer
58 views

Magento 2.3 Warning: Declaration of MGS\Amp\Block\Html\Topmenu

I am getting this error: Warning: Declaration of MGS\Amp\Block\Html\Topmenu::_getHtml(Magento\Framework\Data\Tree\Node $menuTree, $childrenWrapClass, $limit, array $colBrakes = Array) should be ...
0
votes
0answers
16 views

Website showing blank page. PHP Fatal Error: Cannot redeclare pallets()

My magento store was working but suddenly only shows a blank page. Cannot access back-end either. I'm receiving the following error: Fatal error: Cannot redeclare pallete() (previously declared in /...
0
votes
0answers
13 views

Function mcrypt_module_close() is deprecated

I Am facing an issue when i installed a Port theme on Magento2 The solutions on the internet that is already done by default in higher versions of magento from 2.1 onwards. But still facing the issue....
0
votes
0answers
15 views

Magento 2.2.3 Unable to unserialize value

I haven't installed any of the modules but when i tried to create a new email template from back-end by loading a default template which is 'Pickup-cancelled' i am facing an issue. The screenshot is ...
0
votes
0answers
14 views

Custom Login not showing login error message

I created a custom login page and everything is working fine except when login is incorrect. The page only refresh without displaying the error message. Here're my codes app/code/Testing/Basic/etc/...
0
votes
1answer
214 views

After downgrade magento 2.3.5-p1 to magento 2.3.4 getting error

After downgrade magento 2.3.5-p1 to magento 2.3.4 getting error when setup upgrade command fire An abstract factory could not create an instance of magentoframeworkappdeploymentconfig(alias: Magento\...

1
2 3 4 5
38