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

Any up-to-date Multi-Vendor Marketplaces? #10

Open
victory3 opened this issue Jun 9, 2019 · 5 comments
Open

Any up-to-date Multi-Vendor Marketplaces? #10

victory3 opened this issue Jun 9, 2019 · 5 comments

Comments

@victory3
Copy link

victory3 commented Jun 9, 2019

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/Product/Manage.php on line 35

The above issue is coming on Ubuntu & Redhat7.X with 7.2 php Version.

@naourass
Copy link

I'm on PHP 7.2 and I'm having the same issue !

@codewebcluj
Copy link

Any news?

php bin/magento setup:di:compile

Compilation was started.
Repositories code generation... 1/7 [===>------------------] 14% 1 sec 74.5 MiBPHP Fatal error: Cannot use Zend\Form\Annotation\Object as Object because 'Object' is a special class name in //app/code/Apptha/Marketplace/Block/Assignproduct/Search.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

@anibale11
Copy link

anibale11 commented May 19, 2020

Object is reserved word
Use use Zend\Form\Annotation\Object as AnnotationObject

@bselimbuyukelci
Copy link

Change all lines from various files (I can't remember which ones exactly) and replace Object; with Instance; you'll see the files need changing while you are trying to compile so change them when it shows an error so you'll be solve 500 errors too at "domain.com/marketplace/product/manage/" and some other errors.

I don't know why these guys are not updating the extension since this issue mentioned just 5 days ago as you can see above but I hope it will change at the latest update. So, cheers.

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

6 participants