Z
Z
zankoav2017-07-19 12:16:05
symfony
zankoav, 2017-07-19 12:16:05

In the bin/console console throws Notice: unserialize(): Error at offset 48 of 50 bytes, where are the logs?

Hello! After transferring the site to another hosting, the console swears like this,
08aaad3c454e4e9aa4a89fcd4784b888.png
only I want to add a new entity (Entity), and a comment on any command
Plus it’s not clear where to look for "Error at offset 48 of 50 bytes"
Nothing is written in the logs
Help solve the problem

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Denis, 2017-07-19
@prototype_denis

mysql 5.7 pg? Entities store serialized objects?
If so, then the problem is null bytes, which the base does not like.
Doctrine docs advise doing base64 after serialization.

F
FanatPHP, 2017-07-19
@FanatPHP

To get a more detailed error message, you need to run the command with the -v option

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question