vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   RSS poster bot fatal error (https://vborg.vbsupport.ru/showthread.php?t=315462)

OUTL4W 11-16-2014 11:50 PM

RSS poster bot fatal error
 
I keep running into this fatal error below when trying to run the rss psoter bot task.

Fatal error: Call to a member function query_first() on a non-object in /home/public_html/includes/class_bootstrap.php(103) : eval()'d code on line 3

kh99 11-17-2014 04:21 AM

That line is where the hook global_bootstrap_init_start is executed, so the problem is in a plugin using that hook location. I'm not sure why it would only happen when you run the rss poster task, that seems strange.

OUTL4W 11-18-2014 10:46 AM

Quote:

Originally Posted by kh99 (Post 2523068)
That line is where the hook global_bootstrap_init_start is executed, so the problem is in a plugin using that hook location. I'm not sure why it would only happen when you run the rss poster task, that seems strange.

not sure why either....when clicking "preview feed" within the feed, everything works fine but when running it manually I get the above error.

OUTL4W 02-02-2015 02:02 AM

I finally took the plunge and upgraded to 4.2.2 pl3 ran into the time zone issue which I finally fixed...but I am still having this posterbot issue.

ozzy47 02-02-2015 09:38 AM

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 4.2.2

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


All times are GMT. The time now is 06:50 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.01164 seconds
  • Memory Usage 1,720KB
  • 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
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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