Re: Meaning of error?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Nov 12, 2015 at 12:18 PM, Jeffry Killen <jekillen@xxxxxxxxxxx>
wrote:

> Hello;
>
> I have  been getting this error:
>
> <b>Warning</b>:  Illegal string offset 'file' in
> <b>(path)/dev_lab_current/php/console_proc.php</b> on line <b>69</b><br />
> This error, with the markup, is appearing the the top of the page that is
> supposed to display processing results.
>
> The line number represents this code:
>
> if(!self::$_input['file'])
>
self::$_input must be a string not an array, therefore only numeric offsets
are allows when dereferencing the variable. I would double check its what
you expect it to be with var_dump, a debugger, or similar debugging
techniques.


> Why would 'file' be an illegal string offset? Is it literally illegal or
> is there some other reason for this error?
>
> This is the first time I have seen this.
>
> Thanks for time and attention:
> JK
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux