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

json_decode() expects parameter 1 to be string, object given #77

Open
necatisen opened this issue Mar 4, 2020 · 2 comments
Open

json_decode() expects parameter 1 to be string, object given #77

necatisen opened this issue Mar 4, 2020 · 2 comments

Comments

@necatisen
Copy link

Hi,

@drehimself The error I mentioned below occurred when voyagerda edit.blade.php fixed the error. I can't solve, can you help?

image

In addition, the pictures I uploaded on the server are not uploaded to the public \ storage \ products directory.

image
image

@YerToffeeRoll
Copy link

@necatisen

I also had the same problem. Mines occurred when I added a new column to a model bread.

You will need to go into the data_rows table and edit the latest rows. Change any of the details that are saved as "{}" to "".

This should fix your problem.

@zinmyoswe
Copy link

@necatisen

i changed json_decode to json_encode in such Voyager\ProductsController.php

the problem was solved!!

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

3 participants