vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Illegal string offset - please help what is this? (https://vborg.vbsupport.ru/showthread.php?t=304316)

meaters 11-11-2013 08:25 PM

Thanks for your replies. As I said it comes and goes, some days it hits us real bad otherwise we are business as usual.

tbworld 11-11-2013 11:53 PM

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. :)

meaters 11-12-2013 02:54 AM

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.

tbworld 11-12-2013 11:07 AM

Quote:

Originally Posted by meaters (Post 2460046)
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 11 Nov 2013 at 20:39 ---------------

I put $userinfo['values']['do'] == 'updatefolders' instead of $userinfo['action']['do'] == 'updatefolders' and the error message no longer shows.

Thanks to everyone who responded.

Thanks for sending the data, and the reference, it was extremely helpful. If I can simulate this error, I will also report it vbulletin's JIRA.

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 03:41 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
  • Page Generation 0.01132 seconds
  • Memory Usage 1,727KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete