Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error during compilation #6

Open
andreybabenko opened this issue Aug 20, 2024 · 1 comment
Open

Error during compilation #6

andreybabenko opened this issue Aug 20, 2024 · 1 comment

Comments

@andreybabenko
Copy link

🐛 Bug Template

Preconditions:

  • magento v2.4.5-p5
  • marketplacer/magento2-plugin-metapackage v2.2.1
  • marketplacer/magento2-plugin-seller-shipping v1.0.3

Short & clear bug description:

During compilation (setup:di:compile) next error is displayed in console
Compilation was started. Interceptors generation... 4/9 [============>---------------] 44% 13 secs 396.0 MiBCall to undefined method ReflectionUnionType::getName()#0 vendor/magento/framework/Interception/Code/Generator/Interceptor.php(105): Magento\Framework\Interception\Code\Generator\Interceptor->getReturnTypeValue() #1 vendor/magento/framework/Interception/Code/Generator/Interceptor.php(76): Magento\Framework\Interception\Code\Generator\Interceptor->_getMethodInfo() #2 vendor/magento/framework/Code/Generator/EntityAbstract.php(228): Magento\Framework\Interception\Code\Generator\Interceptor->_getClassMethods() #3 vendor/magento/framework/Interception/Code/Generator/Interceptor.php(177): Magento\Framework\Code\Generator\EntityAbstract->_generateCode()

Actual Result

Error is displayed in console.

Expected Result

No errors during compilation.

@andreybabenko andreybabenko changed the title Error during compulation Error during compilation Aug 20, 2024
@andreybabenko
Copy link
Author

Issue appeared as
Marketplacer\SellerShipping\Controller\Adminhtml\Seller\UpdateSellerShipping::execute
should compatible with
Magento\Framework\App\ActionInterface::execute

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant