Most Popular
1500 questions
72
votes
13 answers
Is Magento ready for PHP 7?
PHP 7 is reaching beta status and lots of testing is going on at the moment. Given that Magento caught up within the last year from "runs only on PHP 5.3" to "fully compatible with PHP 5.6", I would like to know how much they are considering PHP 7…
Fabian Schmengler
- 65,791
- 25
- 187
- 421
71
votes
8 answers
How to use the new repo.magento.com
I've generated a new Magento Connect key per the developer documentation instructions. How am I supposed to use this key? i.e., if I try getting info, I see the following.
$ composer info magento/sample-data
Authentication required…
Alana Storm
- 44,345
- 35
- 168
- 353
71
votes
5 answers
How to check which modules are affected by security patch SUPEE-6788
On October 27, 2015, Magento has released security patch SUPEE-6788. According to the technical details, 4 APPSEC's that have been fixed require some rework in local and community modules:
APPSEC-1034, addressing bypassing custom admin URL…
Aad Mathijssen
- 1,901
- 1
- 16
- 24
68
votes
13 answers
How to get Magento 2 base URL?
In Magento 1 Mage::getBaseUrl();, but in Magento 2 I have to pass responsible class object type in constructor.
I don’t have the idea which class I have to pass?
sivakumar
- 267
- 10
- 35
- 69
67
votes
13 answers
'Area code not set' issue in custom CLI commands in Magento 2
I'm getting following error while updating data through CustomerRepositoryInterface
[Magento\Framework\Exception\SessionException]
Area code not set: Area code must be set before starting a…
MJ.
- 839
- 1
- 7
- 10
67
votes
4 answers
Magento 2: how do customer sections / sections.xml work?
I recently came accross a new concept in Magento 2 that I found interesting: customer sections
Some of you may have notice the presence of sections.xml files that look like this: