1
vote
Accepted
Magento 2.4.2: The following modules are outdated: Perfectmakeupmirrors_PmmHead schema: current version - none, required version - 0.0.1
Keep your database backup before do it.
delete your module entry from setup_module table.
Ex.
SELECT * FROM setup_module where module = "Perfectmakeupmirrors_PmmHead";
delete FROM ...
1
vote
Accepted
Magento 2.4.2: observer class not getting invoked on event layout_load_before
The event name is correct and it should work. It is better to debug in where "layout_load_before" event is defined which is shown below.
vendor/magento/framework/View/Layout/Builder.php: ...
1
vote
Magento 2.4.2: observer class not getting invoked on event layout_load_before
The class name you mentioned in events.xml is different from the one you uploaded.
Please change events.xml to include instance as below
instance="Perfectmakeupmirrors\Order\Observer\...
1
vote
Accepted
Magento 2 passing parameter from observer to itself
You can use the "normal" php Session.
// SET PARAMETER VALUE
$_SESSION['PARAMETER_NAME'] = SOME OBJECT
// GET PARAMETER VALUE
$value = isset($_SESSION['PARAMETER_NAME']) ? $_SESSION['...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
event-observer × 2102magento2 × 783
magento-1.9 × 471
module × 123
magento-1 × 105
orders × 102
product × 98
cart × 95
checkout × 92
sales-order × 91
customer × 85
magento-1.7 × 82
magento-1.8 × 72
magento-2.1 × 63
magento2.3 × 62
php × 60
quote × 56
addtocart × 53
plugin × 52
redirect × 48
layout × 46
adminhtml × 42
admin × 41
price × 38
product-attribute × 34