![]() |
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 |
Are you running the supported PHP version for the vBulletin version you are running?
|
3.8.9 Patch Level 1
php: 5.4.45 |
PHP is 5.4
|
The only possible reason of these errors showing up is when the PHP version you're running is not supported by the vBulletin version.
|
Quote:
|
What is the exact version showing up in your AdminCP > Maintenance > PHP version?
|
Quote:
|
Quote:
Those errors are PHP 7 errors, which requires 3.8.11 |
Quote:
|
Sorry, but no.
Quite simply, they are PHP 7 errors, there is no argument about it. http://php.net/manual/en/migration70.deprecated.php |
What I posted in the third post is exactly what he has.
|
Quote:
OP should reach out to the host and see what's going wrong here. |
Quote:
No other versions of PHP generate those warnings, there simply is no argument about it. |
Issue has been fixed. The hosting company had to purge the PHP files and reset everything. Now the site is working.
|
When I visit your site, I am logged in as you on forum home but, change to my own account when I change pages and then change to other member accounts. I have never seen that happen before.
|
I see this happening too. Anyone have any thoughts on why this would happen?
|
Caching of some sort (varnish for example).
This seems to be happening more and more, I dont know if its some trend by hosts to introduce caching, but its deadly for forums. |
Ask your host to add your site to the cache exclusion list.
|
For aome reason this seems to not happen when using the site via mobile. It is occurring while using a desktop computer for me. Hitting the refresh button will make it come back to my account though.
|
Anyone have any advice on how to resolve this issue? The hosting company is not much help.
--------------- Added [DATE]1494242132[/DATE] at [TIME]1494242132[/TIME] --------------- Also, I am having members report issues with the following error. Your submission could not be processed because a security token was invalid. If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error. --------------- Added [DATE]1494245962[/DATE] at [TIME]1494245962[/TIME] --------------- Quote:
|
There's nothing really you or we can do, the hosting provider is in the only position to disable the caching.
Of course you can ask to upgrade your hosting package to something that doesn't do aggressive caching by default or move to another host. |
Quote:
|
All times are GMT. The time now is 03:28 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|