• Welcome to Simple Machines Community Forum. Please login or sign up.
October 26, 2021, 11:02:49 AM

News:

SMF 2.1 RC4 has been released! Try it out and help us test! :) Read more.


8192: Function create_function() is deprecated ?

Started by addlife, February 22, 2019, 04:07:11 PM

Previous topic - Next topic

addlife

February 22, 2019, 04:07:11 PM Last Edit: February 22, 2019, 04:23:55 PM by yajerusalem
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?

@rjen

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 2.1.0 at www.fjr-club.nl
Testing SMF 2.1 with Tinyportal 2.1.0 at test2.fjr-club.nl

addlife

Quote from: @rjen 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
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?

addlife

I just changed it to php 7.1 and I don't see any more of those errors popping up.

Thanks

Advertisement: