Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 11-09-2013, 12:30 AM
meaters meaters is offline
 
Join Date: Jul 2010
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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



Any help will be greatly appreciated.
Reply With Quote
  #2  
Old 11-09-2013, 12:34 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you get that same error with your mods disabled?
Reply With Quote
  #3  
Old 11-09-2013, 12:39 AM
meaters meaters is offline
 
Join Date: Jul 2010
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sadly yes.

Errors are suppressed in 4.2.2 this one appeared suddently and won't go away.
Reply With Quote
  #4  
Old 11-09-2013, 12:40 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What is on line 516 in that file for you?
Reply With Quote
  #5  
Old 11-09-2013, 12:44 AM
meaters meaters is offline
 
Join Date: Jul 2010
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!!!
Reply With Quote
Благодарность от:
ozzy47
  #6  
Old 11-09-2013, 12:47 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 11-09-2013, 12:51 AM
meaters meaters is offline
 
Join Date: Jul 2010
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK man. Cheers!
Reply With Quote
  #8  
Old 11-11-2013, 04:46 PM
meaters meaters is offline
 
Join Date: Jul 2010
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.



Reply With Quote
  #9  
Old 11-11-2013, 07:41 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We need to know whats on those lines.
Reply With Quote
  #10  
Old 11-11-2013, 08:06 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:58 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06936 seconds
  • Memory Usage 2,278KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete