News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

8192: Function create_function() is deprecated ?

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

Previous topic - Next topic

addlife

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.1 with latest TinyPortal at www.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: