vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   The Infamous Depreciated Errors (https://vborg.vbsupport.ru/showthread.php?t=243353)

Sal Collaziano 05-26-2010 10:15 PM

The Infamous Depreciated Errors
 
I'm using vBulletin 3.8.5 and I'm also running the latest safe version of PHP. Is there any way to get rid of these errors without downgrading PHP or upgrading to vBulletin 4.0? They're only happening with modifications but there's a lot of stuff I'd like to use but cannot...

Deprecated: Assigning the return value of new by reference is deprecated in /home/clubfree/public_html/includes/init.php on line 107

Deprecated: Assigning the return value of new by reference is deprecated in /home/clubfree/public_html/includes/init.php on line 111

Deprecated: Assigning the return value of new by reference is deprecated in /home/clubfree/public_html/includes/init.php on line 119

Deprecated: Assigning the return value of new by reference is deprecated in /home/clubfree/public_html/includes/init.php on line 130

Deprecated: Assigning the return value of new by reference is deprecated in /home/clubfree/public_html/includes/init.php on line 134

Deprecated: Assigning the return value of new by reference is deprecated in /home/clubfree/public_html/includes/init.php on line 142

Deprecated: Assigning the return value of new by reference is deprecated in /home/clubfree/public_html/includes/init.php on line 211

Deprecated: Assigning the return value of new by reference is deprecated in /home/clubfree/public_html/includes/init.php on line 389

Deprecated: Assigning the return value of new by reference is deprecated in /home/clubfree/public_html/includes/class_core.php on line 2552

Lynne 05-26-2010 10:29 PM

If they are only happening with modifications, then it sounds like you need to upgrade the modifications.

Sal Collaziano 05-26-2010 10:42 PM

Quote:

Originally Posted by Lynne (Post 2043811)
If they are only happening with modifications, then it sounds like you need to upgrade the modifications.

I didn't think of that but all the modifications have just been installed on a fresh 3.85 vb install.

Lynne 05-26-2010 10:50 PM

There is a thread over on vb.com regarding the blog having these errors and some users have posted what you would need to do to the files to get rid of some of these errors. Most of it can be found through google. I would almost think it would be easier to upgrade.

(3.8.5 itself is supposed to be fine with php5.3 - did you not upgrade some of the files?)

Sal Collaziano 05-27-2010 01:18 AM

Quote:

Originally Posted by Lynne (Post 2043820)
(3.8.5 itself is supposed to be fine with php5.3 - did you not upgrade some of the files?)

This is what has me so surprised because I - actually, it was not a fresh install. I just remember that I acquired the site with an older version of vBulletin and upgraded to 3.8.5. There were no plugins installed to begin with. So I really expected everything to work...

Sal Collaziano 09-04-2013 03:09 AM

In case it ever comes up for anyone else (and I know this is a very old thread, but it just happened to me again), change:

$vbulletin =& new vB_Registry();

to

$vbulletin = new vB_Registry();

Note the =& and =...

...for each line, and you're all set...


All times are GMT. The time now is 09:13 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.00994 seconds
  • Memory Usage 1,723KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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