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-09-2013 12:30 AM

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::(

ozzy47 11-09-2013 12:34 AM

Do you get that same error with your mods disabled?

meaters 11-09-2013 12:39 AM

Sadly yes.

Errors are suppressed in 4.2.2 this one appeared suddently and won't go away.

ozzy47 11-09-2013 12:40 AM

What is on line 516 in that file for you?

meaters 11-09-2013 12:44 AM

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!!!

ozzy47 11-09-2013 12:47 AM

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.

meaters 11-09-2013 12:51 AM

OK man. Cheers!

meaters 11-11-2013 04:46 PM

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

Zachery 11-11-2013 07:41 PM

We need to know whats on those lines.

TheLastSuperman 11-11-2013 08:06 PM

From the file:

PHP Code:

            case 'pm':
                
$userinfo['action'] = $vbphrase['private_messaging'];
                if (
$vbulletin->userinfo['permissions']['wolpermissions'] & $vbulletin->bf_ugp_wolpermissions['canwhosonlinefull'])
                {
                    if (
$seeuserid)
                    {
                        
$userinfo['where'] = '<a href="' fetch_seo_url('member', array('userid' => $seeuserid'username' => $wol_user["$seeuserid"]['username'])) . "\">$username</a>";
                    }
                    if (
$userinfo['values']['do'] == 'newpm' OR $userinfo['values']['do'] == 'insertpm' OR $userinfo['values']['do'] == 'newmessage')
                    {
                        
$userinfo['action'] = $vbphrase['creating_private_message'];
                    }
                    else if (
$userinfo['values']['do'] == 'editfolders' OR $userinfo['action']['do'] == 'updatefolders')
                    {
                        
$userinfo['action'] = $vbphrase['modifying_private_message_folders'];
                    }
                    else if (
$userinfo['values']['do'] == 'trackpm' OR $userinfo['values']['do'] == 'deletepmreceipt')
                    {
                        
$userinfo['action'] = $vbphrase['tracking_private_messages'];
                    }
                    else if (
$userinfo['values']['do'] == 'showpm')
                    {
                        
$userinfo['action'] = $vbphrase['viewing_private_message'];
                    }
                    else if (
$userinfo['values']['do'] == 'downloadpm')
                    {
                        
$userinfo['action'] = $vbphrase['downloading_private_messages'];
                    }

                } 

with line 516 being:

PHP Code:

                    else if ($userinfo['values']['do'] == 'editfolders' OR $userinfo['action']['do'] == 'updatefolders'

The entire snippet starting at 516 to finish is:
PHP Code:

                    else if ($userinfo['values']['do'] == 'editfolders' OR $userinfo['action']['do'] == 'updatefolders')
                    {
                        
$userinfo['action'] = $vbphrase['modifying_private_message_folders'];
                    } 

And you said w/ plugins disabled it still persist so can't be a little pm preview plugin or similar causing it must be issue regarding 4.2.2 then.


All times are GMT. The time now is 08:00 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.01389 seconds
  • Memory Usage 1,759KB
  • 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
  • (3)bbcode_php_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
  • (10)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