256 Kilobytes

Server-Side > Programming

Type All Category Server-SideDiscuss server-side development, such as PHP. Tag Programming

Profile Photo - Some Guy

How do I solve "Cannot use object of type stdclass as array"?

Answers in Server-Side | By Some Guy

Published

Profile Photo - Univa

Last ReplyWhen we use json_decode();, we get an object of type stdClass as return type.  1. Cast the object to array. This can be achieved as follows.... Univa,

When we use json_decode()...

Wed, 08 May 2019 08:38:04 -07002 years ago1
🗨 1
🐏 0
👁 598
Profile Photo - Some Guy
Profile Photo - Hash Brown

Last ReplyHTTP 500 errors are nortorious for being a bitch to fix. The code signals a server error where it couldn't be more specific in what went wron... Hash Brown,

HTTP 500 errors are norto...

Mon, 14 Jan 2019 16:10:07 -08002 years ago1
🗨 1
🐏 0
👁 446
Profile Photo - Some Guy

How do I fix "Invalid argument supplied for foreach()"?

Answers in Server-Side | By Some Guy

Published | Last Update

Profile Photo - Hash Brown

Last ReplyHello, You need to use count() and is_array() to make sure your data is actually an array and it's not empty. The submit value is causing th... Hash Brown,

Hello,

Wed, 19 Dec 2018 08:46:44 -08002 years ago1
🗨 1
🐏 0
👁 377
Profile Photo - Some Guy

Fix "The CSRF token is invalid. Please try to resubmit the form"?

Answers in Server-Side | By Some Guy

Published

Profile Photo - Some Guy

I am using a program for my job, and I a...

MoreI am using a program for my job, and I am getting a error repeatedly saying, "The CSRF token is invalid. Please try to resubmit the form". I...
🗨 0
🐏 0
👁 390