The first warning is a PHP 7.4 deprecation notice. vBulletin 4.2.5 is not compatible with PHP 7.4 and not supported under this version. The maximum allowed version of PHP is 7.2.X as indicated in the notice at the top of the screen.
Undefined Constants are most likely missing quotes around array keys because they were considered optional by some when vBulletin 4.X was written. They are not optional anymore.
Continue vs. break is another PHP "improvement" over the last 5 years since development on vBulletin 4.X stopped.
You will need to either get your hosting provider to downgrade PHP to the 7.2.X series or have them upgrade to 8.X and upgrade your forums to vBulletin 5.7.3. I recommend the second course of action. vBulletin 4.X and PHP 7.2 will continue to become more and more outdated. Even PHP 7.4 is considered end of life now.
PHP Warning: when i download attachment ?
Collapse
X
-
PHP Warning: when i download attachment ?
Code:[B]Deprecated[/B]: The behavior of unparenthesized expressions containing both '.' and '+'/'-' will change in PHP 8: '+'/'-' will take a higher precedence in [B]/home/user/public_html/includes/class_core.php[/B] on line [B]5842[/B] [B]PHP Warning[/B]: Use of undefined constant MYSQL_NUM - assumed 'MYSQL_NUM' (this will throw an Error in a future version of PHP) in [B]..../includes/init.php[/B] on line [B]165[/B] [B]PHP Warning[/B]: Use of undefined constant MYSQL_ASSOC - assumed 'MYSQL_ASSOC' (this will throw an Error in a future version of PHP) in [B]..../includes/init.php[/B] on line [B]165[/B] [B]PHP Warning[/B]: Use of undefined constant MYSQL_BOTH - assumed 'MYSQL_BOTH' (this will throw an Error in a future version of PHP) in [B]..../includes/init.php[/B] on line [B]165[/B] [B]PHP Warning[/B]: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in [B]..../includes/functions_navigation.php[/B] on line [B]588[/B] [B]PHP Warning[/B]: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in [B]..../includes/functions_navigation.php[/B] on line [B]612[/B] [B]PHP Warning[/B]: Use of undefined constant THIS_SCRIPT - assumed 'THIS_SCRIPT' (this will throw an Error in a future version of PHP) in [B]..../includes/functions.php[/B] on line [B]5617[/B] [B]PHP Warning[/B]: Use of undefined constant simpleversion - assumed 'simpleversion' (this will throw an Error in a future version of PHP) in [B]..../includes/adminfunctions.php[/B] on line [B]294[/B] [B]PHP Warning[/B]: Use of undefined constant simpleversion - assumed 'simpleversion' (this will throw an Error in a future version of PHP) in [B]..../includes/adminfunctions.php[/B] on line [B]295[/B]
Tags: None
Related Topics
Collapse
-
by cigarUpgraded to vbulletin 5 latest version after issues with PHP support and vbulletin 4.25,
PHP Warning: Use of undefined constant MYSQL_NUM - assumed 'MYSQL_NUM' (this will throw an Error...-
Channel: vBulletin 5 Installs & Upgrades
Thu 2 Sep '21, 4:12pm -
-
by Gizmo99Ok
see this every time to try and read thread !
PHP Warning: array_key_exists() expects parameter 2 to be array, null given in /var/www/vhosts/htdocs/bbs_4/core/vb/permissioncontext.php...-
Channel: vBulletin 5 Installs & Upgrades
Fri 3 Mar '17, 3:21pm -
-
by nextgenI have had several problems after upgrading my forum to the latest version. Here are a few samples.
In the first image, the bbcodes not showing and the second image the phrase dont appear
...-
Channel: vBulletin 5 Installs & Upgrades
Thu 27 Mar '14, 11:44am -
-
by simonhindwith the current verion of VB Connect 5
PHP 5.3.15 is reporting the following issues in error_log
Code:[13-Sep-2012 20:03:49 UTC] PHP Warning: PHP Startup: magickwand: Unable to
-
Channel: vBulletin 5 Installs & Upgrades
Thu 13 Sep '12, 1:27pm -
Leave a comment: