Can not understand how to fix error 033: array must be indexed
Here's a part of code on say hook, i've just checked current variable of setinfo 'translit' and then if it's 0 i set to 1, if it's 1 i set to 0.
PHP Code:
PHP Code:
|
Re: Can not understand how to fix error 033: array must be indexed
lang variable must be a string.
|
Re: Can not understand how to fix error 033: array must be indexed
Quote:
I have this PHP Code:
|
Re: Can not understand how to fix error 033: array must be indexed
Misread. You have to convert "lang" to an integer, like str_to_num( lang ), or if contain only 0 or 1, you could also checking like "lang[0] == '1'" ;
|
Re: Can not understand how to fix error 033: array must be indexed
Quote:
|
Re: Can not understand how to fix error 033: array must be indexed
Quote:
|
| All times are GMT -4. The time now is 06:27. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.