magento / magento/magento2-sample-data

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

Open
#64 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
212
Forks
266
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with sample-data/dev/tools/build-sample-data.php and reproduce the reported sequence on Magento EE 2.1.7 using setup:upgrade. Inspect the generated symlinks listed in sample-data/dev/tools/exclude.log and verify why Magento\Framework\Serialize\Serializer\Json is unavailable; done means the sample-data setup completes without the ReflectionException.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.