Skip to content

Instantly share code, notes, and snippets.

@lnoering
Last active December 14, 2022 19:17
Show Gist options
  • Save lnoering/b877a53e53a56d99bc203d9f0cec4513 to your computer and use it in GitHub Desktop.
Save lnoering/b877a53e53a56d99bc203d9f0cec4513 to your computer and use it in GitHub Desktop.
[ Magento 2 ] Tips

Find your not compatible custom modules in Magento.

  • Version - ( 2.4.4 ~ 2.4.5-p1) add code in vendor/magento/framework/Reflection/MethodsMap.php line 143
if($paramReflection->detectType() == NULL)
{
    var_dump($paramReflection->getDeclaringClass());
    die();
}

After change run the command bin/magento setup:upgrade. (The upgrade will stop if have wrong module)

add repo keys to composer

composer config repositories.<vendor> composer <path-url>
composer config --auth http-basic.composer.<url> <pass_publick_key> <pass_secrec_key>

Sample:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment