php - Edited array row in phpmyadmin and broke it
Get the solution ↓↓↓I have a row which has an array stored like like this:
a:10:{s:4:"full";s:79:"https://example.com...
I edited it slightly (just the URL) and now I can't retrieve it as an array anymore. Why? What can I do to turn it back?
I'm guessing it has to do with it being serialized or vice versa.
Answer
Solution:
WordPress stores the array data in a serialized way, so it
s:79
represent the length ofhttps://example.com...
.
How to maker it working: replace79
with your current URL length.
For example:
s:18:"https://google.com"
Hope this helps!
Share solution ↓
Additional Information:
Link To Answer People are also looking for solutions of the problem: call to a member function getclientoriginalname() on null
Didn't find the answer?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Similar questions
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.