vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Getting this error (https://vborg.vbsupport.ru/showthread.php?t=316388)

Rickie43 01-02-2015 11:03 PM

Getting this error
 
Need help identifying this error I was getting this error so I upgraded to 3.8.8 upgrade went smoothly but this error is still there and is driving me and my members crazy, can anyone offer some advise please, error below
Code:

PHP User Warning: Illegal string offset 'type' in ..../includes/class_postbit.php(294) : eval()'d code on line 96

ozzy47 01-02-2015 11:05 PM

Ok lets do this, disable plugins via the includes/config.php file.

To do that open your includes/config.php file and below <?php add the following.

PHP Code:

define('DISABLE_HOOKS'true); 

So it looks like this:
PHP Code:

<?php
define
('DISABLE_HOOKS'true);
/*=================================================  =====================*\
|| ##################################################  ################## ||
|| # vBulletin 3.8.8

Use a editor like notepad++ to edit any files, don't use Notepad or Wordpad.

If that fixes the issue enable plugins again by adding // before the line you added, then navigate to ACP --> Plugins & Products --> Manage Products and disable one mod at a time until you find the one causing the issue.

Once you find the culprit, post in that mods thread what the issue is, and maybe someone in that thread can help. :)

ForceHSS 01-02-2015 11:43 PM

You need to find a plugin that is using this hook
PHP Code:

function &fetch_postbit($postbit_type)
    {
        
$handled_type false;
        (
$hook vBulletinHook::fetch_hook('postbit_factory')) ? eval($hook) : false;

        if (!
$handled_type


Simon Lloyd 01-03-2015 01:59 AM

I believe that it's caused by an incompatibility issue with PHP version, what PHP version are you using?

ozzy47 01-03-2015 02:18 AM

Right, and that is most likely a conflict in a mod, that is using the hook, postbit_factory.

Rickie43 01-03-2015 02:23 AM

Awesome work thanks chaps turned out ibProArcade was causing the issue, all fixed now thanks for all your help :)

ozzy47 01-03-2015 02:30 AM

Excellent, glad you found it, and got it resolved. :)


All times are GMT. The time now is 11:53 AM.

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.01179 seconds
  • Memory Usage 1,725KB
  • 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_code_printable
  • (3)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete