Advertisement:

Author Topic: 8192: Function create_function() is deprecated ?  (Read 332 times)

Offline addlife

  • Semi-Newbie
  • *
  • Posts: 52
8192: Function create_function() is deprecated ?
« on: February 22, 2019, 04:07:11 PM »
Hello I recently checked my error log and I found like 40,000 of these errors


8192: Function create_function() is deprecated

File: /public_html/Sources/Subs.php

It just varies by the line number.

Any idea what it could be?
Should I attach that file?
« Last Edit: February 22, 2019, 04:23:55 PM by yajerusalem »

Offline @rjen

  • Full Member
  • ***
  • Posts: 414
  • Gender: Male
Re: 8192: Function create_function() is deprecated ?
« Reply #1 on: February 22, 2019, 04:09:19 PM »
I guess you are on PHP version 7.2? SMF 2.0 is not compatible with 7.2.
Downgrade your server to PHP 7.1
Running SMF 2.0 with Tinyportal 1.6.3 at www.fjr-club.nl
Testing SMF 2.1 RC2 with Tinyportal 1.6.3 at http://test2.fjr-club.nl/

Offline addlife

  • Semi-Newbie
  • *
  • Posts: 52
Re: 8192: Function create_function() is deprecated ?
« Reply #2 on: February 22, 2019, 04:12:00 PM »
I guess you are on PHP version 7.2? SMF 2.0 is not compatible with 7.2.
Downgrade your server to PHP 7.1
Aha thanks

I thought it was something to do with that. I'll try to change it. Anything I should be aware of before I try to login to my hosting account to try to change it?

Offline addlife

  • Semi-Newbie
  • *
  • Posts: 52
Re: 8192: Function create_function() is deprecated ?
« Reply #3 on: February 22, 2019, 04:20:49 PM »
I just changed it to php 7.1 and I don't see any more of those errors popping up.

Thanks