vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Deprecated Errors on Site (https://vborg.vbsupport.ru/showthread.php?t=324980)

SVTCobraLTD 04-26-2017 08:30 AM

Deprecated Errors on Site
 
I kepp getting this error when visiting my forums. I have tried disabling all plugins and nothing changed. Any thoughts?

Code:

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; vB_Database has a deprecated constructor in /home1/site/public_html/forums/includes/class_core.php on line 78

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; vB_Datastore has a deprecated constructor in /home1/site/public_html/forums/includes/class_core.php on line 1251

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; vB_Input_Cleaner has a deprecated constructor in /home1/site/public_html/forums/includes/class_core.php on line 1510

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; vB_Registry has a deprecated constructor in /home1/site/public_html/forums/includes/class_core.php on line 2346

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; vB_Session has a deprecated constructor in /home1/site/public_html/forums/includes/class_core.php on line 2647

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; vB_Shutdown has a deprecated constructor in /home1/site/public_html/forums/includes/class_core.php on line 3171



Unable to add cookies, header already sent.
File: /home1/site/public_html/forums/includes/class_core.php
Line: 78


Dave 04-26-2017 11:31 AM

Are you running the supported PHP version for the vBulletin version you are running?

blind-eddie 04-26-2017 06:49 PM

3.8.9 Patch Level 1
php: 5.4.45

SVTCobraLTD 04-26-2017 10:49 PM

PHP is 5.4

Dave 04-26-2017 11:21 PM

The only possible reason of these errors showing up is when the PHP version you're running is not supported by the vBulletin version.

SVTCobraLTD 04-27-2017 12:04 AM

Quote:

Originally Posted by Dave (Post 2585883)
The only possible reason of these errors showing up is when the PHP version you're running is not supported by the vBulletin version.

But vb 3.8.9 recommends 5.3 or higher. I am on PHP 5.4.

Dave 04-27-2017 11:16 AM

What is the exact version showing up in your AdminCP > Maintenance > PHP version?

SVTCobraLTD 04-27-2017 12:08 PM

Quote:

Originally Posted by Dave (Post 2585889)
What is the exact version showing up in your AdminCP > Maintenance > PHP version?

PHP Version 5.4.45

Paul M 04-27-2017 03:33 PM

Quote:

Originally Posted by SVTCobraLTD (Post 2585884)
But vb 3.8.9 recommends 5.3 or higher. I am on PHP 5.4.

No, you're not.

Those errors are PHP 7 errors, which requires 3.8.11

SVTCobraLTD 04-27-2017 06:45 PM

Quote:

Originally Posted by Paul M (Post 2585902)
No, you're not.

Those errors are PHP 7 errors, which requires 3.8.11

I confirmed with my hosting company. PHP 5.4.45


All times are GMT. The time now is 06:57 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.01387 seconds
  • Memory Usage 1,737KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete