9
votes
Accepted
Magento2.3.5-P1 - Fatal Error: 'Cannot declare class Zend_Http_Client, because the name is already in use
UPDATE:
@Renon Steward's answer fixed the issue
Try open composer.json and remove use-include-path or the entire config element if this is the only entry.
"config": {
"use-include-path": true
},...
9
votes
Accepted
Magento 2.3: main.ERROR: Unable to resolve the source file issue
I have resolved my issue to set value 0 in 'theme' table in db for type column.
8
votes
Accepted
Swagger not opening in 2.3.5-p1 magento - "\DateTime" parameter type is invalid
Had the same issue myself, and this is due to the issue in dotmailer/dotmailer-magento2-extension as detailed here: https://github.com/magento/magento2/issues/28244.
It can be resolved by upgrading ...
5
votes
Magento 2.3: main.ERROR: Unable to resolve the source file issue
Just in case someone else runs in to this still:
For us, the parent_id:s of our custom themes were all kinds of messed up, showing up all as parent_id=1;
Fixing the parent_id's from "theme"-...
5
votes
An abstract factory could not create an instance of magentoframeworkappdeploymentconfig(alias: Magento\Framework\App\DeploymentConfig
"Unable to run bin/magento
In some cases after running the composer upgrade you may find yourself unable to run bin/magento on the command line, and instead get the following error
An abstract ...
4
votes
An abstract factory could not create an instance of magentoframeworkappdeploymentconfig(alias: Magento\Framework\App\DeploymentConfig
You can see this error if you run bin/magento with an incompatible PHP version for the Magento platform you are running
Find your current magento version in the footer of the admin panel (or if it is ...
4
votes
An abstract factory could not create an instance of magentoframeworkappdeploymentconfig(alias: Magento\Framework\App\DeploymentConfig
clear vendor folder rm -rf vendor/*
then run composer install and bin/magento setup:upgrade has worked today for me
4
votes
Magento2.3.5-P1 - Fatal Error: 'Cannot declare class Zend_Http_Client, because the name is already in use
This issue seems to only affect users upgrading from a previous version of Magento 2.
Try open composer.json and remove use-include-path or the entire config element if this is the only entry.
"...
4
votes
Accepted
Magento 2 : How to Add Currency Flag to Currency Switcher Dropdown?
You can add the flag to the currency switcher using the below way.
create file currency.phtml in
app/code/design/frontend/{theme_vendor}/{theme_name}/Magento_Directory/templates/currency.phtml
And ...
3
votes
How to Change Order Status using Api in magento 2.3.5
You can use the rest webservice: http://yoursite.com/index.php/rest/V1/orders
On the body you just have to pass:
{
"entity":
{
"entity_id": your order id,
...
2
votes
Accepted
How add file to email message in Magento 2.3.5?
below is my code to send email with attachment for M2.3.5 ver
First we need to override "Magento\Framework\Mail\Template\TransportBuilder" with our local file so first we create file
VendorName/...
2
votes
Accepted
Magento 2.3.5 Tracking Email Missing Tracking Number And Order Items
This is due to a bug in 2.3.4 - 2.3.5,
Can be resolved by setting the is_legacy field to 1 in the email_template table.
Click here for github issue related to this
2
votes
Accepted
How to call Static content block
If you want to call static block in the phtml file then please add below code.
<?php
echo $this->getLayout()
->createBlock('Magento\Cms\Block\Block')
->setBlockId('YOUR_BLOCK_ID')
->...
2
votes
How to add default head block in default.xml
Create app/design/frontend/VENDOR/THEME/Magento_Theme/layout/default.xml.
Example:
<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
2
votes
How to add default head block in default.xml
Create app/design/frontend/VENDOR/THEME/Magento_Theme/layout/default_head_blocks.xml. Example:
<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
2
votes
Accepted
How to add default head block in default.xml
For custom module use following.
app/code/{{vendorname}}//{{modulename}}/view/frontend/layout/default.xml
and add css or js like as follows
<head>
<link src="{{vendorname_modulename}}::...
2
votes
Accepted
Want to Learn magento 2.3.5
You can get from magento official websites to learn magento 2.3.5 from the scratch
Community wiki
2
votes
How to Change Order Status using Api in magento 2.3.5
Try this params. It is working.
{
"entity": {
"entity_id": 1,
"state":"processing",
"status": "processing"
}
...
2
votes
Accepted
I want to update order status using magento's rest api
Check this api {{your url}}rest/V1/orders and apply following params to update status
{
"entity": {
"entity_id": orderid,
"state":"processing&...
2
votes
Accepted
How to Change Order Status using Api in magento 2.3.5
I am using Integromat for automatic change order status.
But if I do this API call than I recieve 400: Request method is invalid. I tried to use different methods like PATCH, PUT and still get 400.
...
2
votes
Accepted
What is different between Magento 2.3.5-p1 and 2.3.5 version?
The p1 suffix denotes the full release for the quarterly update and contains further fixes to a unique error. Generally if you're not experiencing errors I don't think you need to upgrade to p1, ...
2
votes
An abstract factory could not create an instance of magentoframeworkappdeploymentconfig(alias: Magento\Framework\App\DeploymentConfig
This is due to some dependencies wrongly installed in the system.
Either remove vendor folder and go again with composer update/ install.
Or an easy workaround is add following in composer.json
"...
2
votes
Accepted
Magento2: How to redirect user from cart page to any other page?
because my site is Quote only store and so no need of normal cart page.
Based on your statement above - I'm assuming that you DONT need/leverage the Amazon modules that ship OOTB with Magento 2.3.5.
...
2
votes
Magento 2.3: main.ERROR: Unable to resolve the source file issue
Run these commands in the order shown and the issue should be solved
php bin/magento cache:clean
php bin/magento cache:flush
rm -rf pub/static/frontend/* pub/static/adminhtml/*
php bin/magento setup:...
2
votes
Accepted
How can we add Tracking number using third party API in order when shipment create in Magento 2.3.5?
You can use the REST API provided by Magento.
In this case use this webservice http://yoursite.com/index.php/rest/V1/shipment/track
{
"entity": {
"order_id": your order ...
2
votes
Accepted
css and js not found in magento 2.3.5
Step -1
Go To Magento\Framework\View\Element\Template\File\Validator.php
replace isPathInDirectories() Method
protected function isPathInDirectories($path, $directories)
{
$realPath = ...
2
votes
Accepted
I am getting this error in magento 2.3.5
First thing may be to verify the module is active on the site:
by running php bin/magento module:status
we need to see this module listed
you need to verify the file named size.phtml is within your ...
2
votes
Accepted
I am stuck with this error while creating custom select attribute in product in magento 2
InstallData.php
<?php
namespace VendorName\ModuleName\Setup;
use Magento\Eav\Setup\EavSetup;
use Magento\Eav\Setup\EavSetupFactory;
use Magento\Framework\Setup\InstallDataInterface;
use Magento\...
2
votes
Accepted
Magento 2 Price not updating in all store views when scope set to global
There is a problem in Magento that it doesn't take price scope into account while loading product EAV attributes.
As a solution, you can tweak core code
Magento\Eav\Model\ResourceModel\ReadHandler::...
2
votes
Accepted
getImageUrl() returning nothing in Magento 2.3.5 -p1 version
$category->getImageUrl() is a right code to get image url of the category.
But you have to load that data from category model factory of as per below.
$category = $objectManager->get('Magento\...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
magento2.3.5-p1 × 129magento2 × 32
magento2.3.5 × 13
module × 11
magento2.3 × 10
admin × 6
category × 5
javascript × 5
custom × 5
css × 4
xml × 4
ajax × 4
jquery × 4
phtml × 4
varnish × 4
custom-theme × 4
product × 3
orders × 3
email × 3
product-images × 3
rest-api × 3
shipping-methods × 3
magento2.3.4 × 3
php-7.2 × 3
php × 2