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 setup:di:compile #19

Open
guilhermetb opened this issue Jul 4, 2019 · 2 comments
Open

Error setup:di:compile #19

guilhermetb opened this issue Jul 4, 2019 · 2 comments

Comments

@guilhermetb
Copy link

Magento 2.3.2
PHP 7.2.19-1+020190531112637.22+stretch1.gbp75765b
nginx version: nginx/1.10.3
mysql Ver 14.14 Distrib 5.7.26

Hi, this error occurs when I perform the command magento setup:di:compile

PHP Fatal error: Cannot use Zend\Form\Annotation\Object as Object because 'Object' is a special class name in /var/www/html/magento2/app/code/Apptha/Marketplace/Controller/Order/Vieworder.php on line 33

I can access and change the module settings but my checkout (Ecomteck Onestepcheckout) crashes.

@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

@rameshkrr652
Copy link

Just replace the 'Object' with 'Instance'

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

3 participants