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

Compilation Issue in Php7.2.16 environment #9

Open
merin3 opened this issue Jun 5, 2019 · 1 comment
Open

Compilation Issue in Php7.2.16 environment #9

merin3 opened this issue Jun 5, 2019 · 1 comment

Comments

@merin3
Copy link

merin3 commented Jun 5, 2019

While compiler using command php bin/magento setup:di:compile its shows the below error peculiarly.

Fatal error: Cannot use Zend\Form\Annotation\Object as Object because 'Object' is a special class name in public_html/app/code/Apptha/Marketplace/Block/Assignproduct/Manage.php on line 35

@Zer0Down
Copy link

Try the following commands, they should work...

php bin/magento setup:upgrade --keep-generated
php bin/magento setup:static-content:deploy -f
php bin/magento cache:clean
sudo chmod -R 0777 var pub generated

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

2 participants