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 ...
user avatar
  • 1,049
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: ...
user avatar
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\...
user avatar
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['...
user avatar
  • 1,107

Only top scored, non community-wiki answers of a minimum length are eligible