Skip to content

[BUG] Compilation error: PHP Fatal error: Interceptor may not inherit from final class (Opengento\Gdpr\Block\Adminhtml\Customer\Edit\EraseButton) #110

@rizhk

Description

@rizhk

Description

A clear and concise description of what the bug is.

Prerequisites

PHP Version:

  • 7.2.0

Magento Version:

  • 2.3.6

Module Version:

  • 3.0.0

Desktop (if applicable):

  • OS: Linux(Ubuntu)

Issue Details

Steps to reproduce the behavior
bin/magento setup:di:compile will give error:

PHP Fatal error: Class Opengento\Gdpr\Block\Adminhtml\Customer\Edit\EraseButton\Interceptor may not inherit from final class (Opengento\Gdpr\Block\Adminhtml\Customer\Edit\EraseButton) in /var/www/html/generated/code/Opengento/Gdpr/Block/Adminhtml/Customer/Edit/EraseButton/Interceptor.php on line 7

Expected behavior
Compilation should not give any error

Screenshots

Screenshot 2021-09-16 at 6 41 28 PM

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions