Announcement

Collapse
No announcement yet.

this will throw an Error in a future version of PHP

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • this will throw an Error in a future version of PHP

    I am getting a ton of errors in my error log. I am running 4.2.5 with PHP 7.0

    [07-Mar-2020 21:21:24 UTC] PHP Warning: Use of undefined constant MYSQL_NUM - assumed 'MYSQL_NUM' (this will throw an Error in a future version of PHP) in /home/mysite/public_html/includes/init.php on line 165
    [07-Mar-2020 21:21:24 UTC] PHP Warning: Use of undefined constant MYSQL_ASSOC - assumed 'MYSQL_ASSOC' (this will throw an Error in a future version of PHP) in /home/mysite/public_html/includes/init.php on line 165
    [07-Mar-2020 21:21:24 UTC] PHP Warning: Use of undefined constant MYSQL_BOTH - assumed 'MYSQL_BOTH' (this will throw an Error in a future version of PHP) in /home/mysite/public_html/includes/init.php on line 165
    [07-Mar-2020 21:21:24 UTC] PHP Warning: Use of undefined constant post_thanks_show_stats_postbit - assumed 'post_thanks_show_stats_postbit' (this will throw an Error in a future version of PHP) in /home/mysite/public_html/includes/class_bootstrap.php(1422) : eval()'d code on line 25
    [07-Mar-2020 21:21:24 UTC] PHP Warning: Use of undefined constant member - assumed 'member' (this will throw an Error in a future version of PHP) in /home/mysite/public_html/includes/class_bootstrap.php(1422) : eval()'d code on line 30
    [07-Mar-2020 21:21:24 UTC] PHP Warning: Use of undefined constant showthread - assumed 'showthread' (this will throw an Error in a future version of PHP) in /home/mysite/public_html/includes/class_bootstrap.php(1422) : eval()'d code on line 35
    [07-Mar-2020 21:21:24 UTC] PHP Warning: Use of undefined constant custom_css_list - assumed 'custom_css_list' (this will throw an Error in a future version of PHP) in /home/mysite/public_html/includes/class_bootstrap.php(433) : eval()'d code on line 16
    [07-Mar-2020 21:21:24 UTC] PHP Warning: Use of undefined constant ITAB - assumed 'ITAB' (this will throw an Error in a future version of PHP) in /home/mysite/public_html/includes/class_bootstrap.php(564) : eval()'d code on line 136
    [07-Mar-2020 21:21:24 UTC] PHP Warning: Use of undefined constant navtab_middle - assumed 'navtab_middle' (this will throw an Error in a future version of PHP) in /home/mysite/public_html/includes/class_bootstrap.php(564) : eval()'d code on line 142
    [07-Mar-2020 21:21:24 UTC] PHP Warning: Use of undefined constant postcount - assumed 'postcount' (this will throw an Error in a future version of PHP) in /home/mysite/public_html/includes/class_core.php(4684) : eval()'d code on line 2
    [07-Mar-2020 21:21:24 UTC] PHP Warning: Use of undefined constant maxposts - assumed 'maxposts' (this will throw an Error in a future version of PHP) in /home/mysite/public_html/includes/class_core.php(4684) : eval()'d code on line 2
    [07-Mar-2020 21:21:24 UTC] PHP Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in /home/mysite/public_html/includes/class_core.php(4684) : eval()'d code on line 6
    [07-Mar-2020 21:21:24 UTC] PHP Warning: Use of undefined constant postcount - assumed 'postcount' (this will throw an Error in a future version of PHP) in /home/mysite/public_html/includes/class_core.php(4684) : eval()'d code on line 2
    [07-Mar-2020 21:21:24 UTC] PHP Warning: Use of undefined constant maxposts - assumed 'maxposts' (this will throw an Error in a future version of PHP) in /home/mysite/public_html/includes/class_core.php(4684) : eval()'d code on line 2
    [07-Mar-2020 21:21:24 UTC] PHP Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in /home/mysite/public_html/includes/class_core.php(4684) : eval()'d code on line 6
    [07-Mar-2020 21:21:24 UTC] PHP Warning: Use of undefined constant postcount - assumed 'postcount' (this will throw an Error in a future version of PHP) in /home/mysite/public_html/includes/class_core.php(4684) : eval()'d code on line 2
    [07-Mar-2020 21:21:24 UTC] PHP Warning: Use of undefined constant maxposts - assumed 'maxposts' (this will throw an Error in a future version of PHP) in /home/mysite/public_html/includes/class_core.php(4684) : eval()'d code on line 2
    [07-Mar-2020 21:21:24 UTC] PHP Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in /home/mysite/public_html/includes/class_core.php(4684) : eval()'d code on line 6
    [07-Mar-2020 21:21:24 UTC] PHP Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in /home/mysite/public_html/includes/class_core.php(4684) : eval()'d code on line 91
    [07-Mar-2020 21:21:24 UTC] PHP Warning: Use of undefined constant postcount - assumed 'postcount' (this will throw an Error in a future version of PHP) in /home/mysite/public_html/includes/class_core.php(4684) : eval()'d code on line 2
    [07-Mar-2020 21:21:24 UTC] PHP Warning: Use of undefined constant maxposts - assumed 'maxposts' (this will throw an Error in a future version of PHP) in /home/mysite/public_html/includes/class_core.php(4684) : eval()'d code on line 2
    [07-Mar-2020 21:21:24 UTC] PHP Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in /home/mysite/public_html/includes/class_core.php(4684) : eval()'d code on line 6
    [07-Mar-2020 21:21:24 UTC] PHP Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in /home/mysite/public_html/includes/class_core.php(4684) : eval()'d code on line 91
    [07-Mar-2020 21:21:24 UTC] PHP Warning: Use of undefined constant postcount - assumed 'postcount' (this will throw an Error in a future version of PHP) in /home/mysite/public_html/includes/class_core.php(4684) : eval()'d code on line 2
    [07-Mar-2020 21:21:24 UTC] PHP Warning: Use of undefined constant maxposts - assumed 'maxposts' (this will throw an Error in a future version of PHP) in /home/mysite/public_html/includes/class_core.php(4684) : eval()'d code on line 2
    [07-Mar-2020 21:21:24 UTC] PHP Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in /home/mysite/public_html/includes/class_core.php(4684) : eval()'d code on line 6
    [07-Mar-2020 21:21:24 UTC] PHP Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in /home/mysite/public_html/includes/class_core.php(4684) : eval()'d code on line 91
    [07-Mar-2020 21:21:24 UTC] PHP Warning: Use of undefined constant postcount - assumed 'postcount' (this will throw an Error in a future version of PHP) in /home/mysite/public_html/includes/class_core.php(4684) : eval()'d code on line 2
    [07-Mar-2020 21:21:24 UTC] PHP Warning: Use of undefined constant maxposts - assumed 'maxposts' (this will throw an Error in a future version of PHP) in /home/mysite/public_html/includes/class_core.php(4684) : eval()'d code on line 2
    [07-Mar-2020 21:21:24 UTC] PHP Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in /home/mysite/public_html/includes/class_core.php(4684) : eval()'d code on line 6
    [07-Mar-2020 21:21:24 UTC] PHP Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in /home/mysite/public_html/includes/class_core.php(4684) : eval()'d code on line 91

  • #2
    eval’d code is from your plugins. They will need to be updated to work with PHP 7
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API - Full / Mobile
    Vote for your favorite feature requests and the bugs you want to see fixed.

    Comment

    Related Topics

    Collapse

    • 720
      Error 508
      by 720
      When pressing "Mark channels read" in the main page of my forum, myself and other users get the error message 508.

      Running vB5.5.5, only third-party plugin is Tapatalk.
      ...
      Thu 14th Nov '19, 11:34pm
    • bollie
      PHP Warning
      by bollie
      [Thu Mar 01 14:08:56.052710 2018] [:error] [pid 26055] [client 81.11.134.242:62458] PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/pctuts/domains/pctuts.be/public_html/core/vb/api/user.php...
      Thu 1st Mar '18, 4:21am
    • 720
      Additional usergroups disappear
      by 720
      Not sure if this is a bug or a feature, but I've lately had issues with some users losing their additional usergroup(s).

      I tested more thoroughly now, adding an additional usergroup to a...
      Wed 4th Dec '19, 2:14am
    Working...
    X