Coder Social home page Coder Social logo

Comments (5)

naourass avatar naourass commented on September 14, 2024

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

from marketplace-m2.

codewebcluj avatar codewebcluj commented on September 14, 2024

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

from marketplace-m2.

Zer0Down avatar Zer0Down commented on September 14, 2024

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

from marketplace-m2.

anibale11 avatar anibale11 commented on September 14, 2024

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

from marketplace-m2.

bselimbuyukelci avatar bselimbuyukelci commented on September 14, 2024

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.

from marketplace-m2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.