what is error object to sting conversion error mean code example
Example 1: Notice: Array to string conversion php
$stuff = array(1,2,3);
print_r($stuff);
$stuff = array(3,4,5);
var_dump($stuff);
Example 2: Notice: Array to string conversion php
// suppress the Notices:
error_reporting(0);
print(array(1,2,3)); //Prints 'Array' without a Notice.