![]() |
Illegal string offset - please help what is this?
Hi guys,
All of a sudden I started getting this error on my forums when I try to view users online http://store.img-share.eu/f_pngt7sR5jz.png Any help will be greatly appreciated. :confused::( |
Do you get that same error with your mods disabled?
|
Sadly yes.
Errors are suppressed in 4.2.2 this one appeared suddently and won't go away. |
What is on line 516 in that file for you?
|
I haven't checked. The error message suddenly disappeared.
Thanks for your time and reply ozzy, you are doing a wonderful job here for the community. I have no idea how this error message appears then suddenly disappears, I haven't changed anything and posted this thread out of desperation... I hope Paul M reads this thread!!! |
Thanks, I try and help out where I can. :)
What I would do is if it comes up again, see if there is any similarity's / differences when it appears, versus when it don't appear. |
OK man. Cheers!
|
It has started again, this time shows on two lines!
Horrible. I don't know what to do. It comes up and goes in random manner. :( http://store.img-share.eu/f003_pngXVydKzy.png |
We need to know whats on those lines.
|
From the file:
PHP Code:
PHP Code:
PHP Code:
|
Thanks for your replies. As I said it comes and goes, some days it hits us real bad otherwise we are business as usual.
|
This is most likely a 'mod/plugin' that is causing your trouble or other sites would have reported it. I would be looking at what commands were being performed in the logs prior to this being triggered. The first step in solving a problem like this is to be able to repeat the condition.
I was going to suggest a method to trap the error and use xdebug to trace through it once you could repeat the condition, but that method might be too advanced of a step for you -- after reading through you threads. If I am wrong please let me know. Since your a production board, disable any PM mods you are using for now and see if the problem goes away. It would be helpful if you posted what you tried. :) |
Thanks for your reply tbworld.
I managed to replicate the error - it only happens when at least one user is viewing their pms. There are similar complaints posted on other boards about the same issue http://forums.devshed.com/php-develo...ng-937807.html Please suggest your method to "trap" the error. --------------- Added [DATE]1384231175[/DATE] at [TIME]1384231175[/TIME] --------------- I put $userinfo['values']['do'] == 'updatefolders' instead of $userinfo['action']['do'] == 'updatefolders' and the error message no longer shows. Thanks to everyone who responded. |
Quote:
Good Job! I believe your change is correct, I had to ponder why this did not show in earlier versions. |
All times are GMT. The time now is 06:04 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|