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

[ReflectionException] Class Magento\Framework\Serialize\Serializer\Json does not exist #64

Open
skashish opened this issue Jul 14, 2017 · 5 comments

Comments

@skashish
Copy link

I used following commands on Magento EE 2.1.7 to install sample data.
OS - Ubuntu 14.04

cd <Magento_root_directory>
git clone https://github.com/magento/magento2-sample-data.git ./sample-data

php -f ./sample-data/dev/tools/build-sample-data.php -- --ce-source="."
All symlinks you can see at files:
<Magento_root_directory>/sample-data/dev/tools/exclude.log

After that, When I ran php bin/magento setup:upgrade, I get


[ReflectionException]                                             
Class Magento\Framework\Serialize\Serializer\Json does not exist
@skashish
Copy link
Author

Also, I'm unable to uninstall. When I run
php -f ./sample-data/dev/tools/build-sample-data.php - --command=unlink --ce-source="."

I get Expected folder not found.

@AlessandroStaffolani
Copy link

Same error, tried to install sample data after installing magento 2.1.7, I cloned sample-data repo from github, I run the command php -f ./sample-data/dev/tools/build-sample-data.php -- --ce-source="." then on upgrade I get this error:

[ReflectionException] Class Magento\Framework\Serialize\Serializer\Json does not exist

@akhan522
Copy link

I get an error saying "Class Magento\Framework\Serialize\Serializer\Json does not exist" when I try to create an attribute

@kandy
Copy link

kandy commented Aug 13, 2017

Please try use 2.1-develop branch of sample data for 2.1.7 Magento version

@ptkfenelon
Copy link

Hi, i'm sorry for my English.

I was having the same problem in Magento 2.1.8.
I solved the problem by cloning the latest version of the repository (https://github.com/magento/magento2.git) and copying the 'Serialize' package to version 2.1.8.

Path: <magento_path>/lib/internal/Magento/Framework/Serialize/

magento-devops-reposync-svc pushed a commit that referenced this issue Aug 28, 2024
[Arrows] Delivery for RFC: Deprecate passing null
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

5 participants