Linked Questions

Popular Questions

Offset of type string on string

Asked by At

i have problem with this. Log page retrun this:

TypeError: Cannot access offset of type string on string on file somethin.php:636

This is line 636:

$cust = str_replace('[CUSTOMER_NO]',$client_id['response']['client_id'],$temp['response']['customer_no_template']);

I use php 8.1

Where is problem thank you.

I tried add (int) before variable string, same problem

Related Questions