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 02-27-2018, 03:26 PM
Barzor Barzor is offline
 
Join Date: Sep 2012
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default operator not supported for strings on line

I recently migrated to another server. No problems untill..
I suddenly get this error when I try to see a thread. Can somebody explain what this means?

[] operator not supported for strings on line 37 in /home/w12sdmo3osve/public_html/vb/ckeditor.php(74) : eval()'d code
#0 /home/w12sdmo3osve/public_html/vb/ckeditor.php(74): eval()
#1 /home/w12sdmo3osve/public_html/vb/ckeditor.php(44): vB_Ckeditor->__construct('qr', 'vBForum_Post', 0, 29, '1', '2')
#2 /home/w12sdmo3osve/public_html/includes/functions_editor.php(500): vB_Ckeditor::getInstance('vB_Editor_QR', 'qr', 'vBForum_Post', 0, 29, '1', '2')
#3 /home/w12sdmo3osve/public_html/showthread.php(2058): construct_edit_toolbar('', 0, 4, 1, 1, false, 'qr', '', Array, 'forum', 'vBForum_Post', 0, 29)
#4 {main}
Reply With Quote
  #2  
Old 02-27-2018, 04:09 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's caused by one of your plugins which uses the hook "editor_construct".
We can't see which plugin it is so you have to go to your AdminCP > plugin manager > find hook "editor_construct" and see which plugin it belongs to. If it belongs to multiple plugins, disable them one by one until it works.

Once you found the plugin that causes this, post the few lines that are around line 37 and maybe we can help you fix it.
Reply With Quote
  #3  
Old 02-27-2018, 05:11 PM
Barzor Barzor is offline
 
Join Date: Sep 2012
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Dave,

I found the plugin which causes the problem. Unfortunately its the one I really need for my business module.

I am using Hide Hack v4 which used to work just fine at my previous hosting that sucked. Now I am at godaddy I hope I can get to to work again
Reply With Quote
  #4  
Old 02-27-2018, 05:17 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had a look at the code, try the following:
Edit the hook of the plugin that's causing the problem, and find the following:
PHP Code:
$usergrouplist ''
Replace it with
PHP Code:
$usergrouplist = array(); 
If you don't want to do that, you can try changing PHP version to 5.4/5.5/5.6. Seems that you are using PHP 7+?
Reply With Quote
  #5  
Old 02-27-2018, 05:38 PM
Barzor Barzor is offline
 
Join Date: Sep 2012
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Changing the code has no effect.

I can get into the thread page after I changed a setting but the threads are still empty, except for the title.
http://flevojobs.nu/showthread.php?2...Citadel-32-38u

I am using php 7.1 currently. Ill try downgrading now.. lets see

--------------- Added [DATE]1519760997[/DATE] at [TIME]1519760997[/TIME] ---------------

Thanks Dave,

You are very knowledged.

Changing the PHP version did the job
Reply With Quote
  #6  
Old 02-27-2018, 06:40 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No problem, veel succes met je forum!
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 11:15 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.04060 seconds
  • Memory Usage 2,207KB
  • Queries Executed 13 (?)
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
  • (2)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete