Advertisement:

Author Topic: Deprecated: Function create_function() is deprecated in Sources/Load.php  (Read 206 times)

Offline Douglas

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,085
  • Gender: Male
  • Non sibi sed patriae
    • @BearlyDoug on Twitter
    • TheFan.net
Code: [Select]
Deprecated: Function create_function() is deprecated in Sources/Load.php on line 178

Deprecated: Function create_function() is deprecated in Sources/Load.php on line 183

Deprecated: Function create_function() is deprecated in Sources/Load.php on line 184

Deprecated: Function create_function() is deprecated in Sources/Load.php on line 220

Deprecated: Function create_function() is deprecated in Sources/Load.php on line 223

Deprecated: Function create_function() is deprecated in Sources/Load.php on line 235

Deprecated: Function create_function() is deprecated in Sources/Load.php on line 250

Deprecated: Function create_function() is deprecated in Sources/Load.php on line 268

Version Information:
Forum version: SMF 2.0.15 (more detailed)
Current SMF version: SMF 2.0.15
GD version: 2.2.5
Database Server: MariaDB
MySQL version: 10.2.19-MariaDB-log
PHP: 7.3.11-1~deb10u1
Server version: Apache

Before anyone "yells" at me, I don't have any choice on the PHP version. You might want to revise the Basic Server Requirements within SMF's documentation that says "PHP 5.4.0 or higher", cause 7.3 is definitely higher than 5.4.0. ;)
Doug Hazard
* Full Stack (Web) Developer for The Catholic Diocese of Richmond
(20+ Diocesan sites, 130+ Church sites & 24 School sites)
* Sports Photographer and Media Personality
* CFB Historian
* Tech Admin for one 1M+ post, one 2M+ post and one 10M+ post sites (last two are powered by multiple servers)
* WordPress Developer (Junkie)

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,982
    • StoryBB/StoryBB on GitHub
Re: Deprecated: Function create_function() is deprecated in Sources/Load.php
« Reply #1 on: November 08, 2019, 06:45:37 AM »
If you can’t drop the PHP to 7.1 you’ll just have to turn error reporting off until SMF 2.0.16 comes out. Your issue is PHP 7.2+ has a hissy fit with the bbc parser (and other parts)
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Illori

  • Project Manager
  • SMF Legend
  • *
  • Posts: 51,561
Re: Deprecated: Function create_function() is deprecated in Sources/Load.php
« Reply #2 on: November 08, 2019, 07:58:33 AM »
I know it is not the page you linked to but https://wiki.simplemachines.org/smf/SMF2.0:Requirements_and_recommendations says

Quote
Versions of SMF from 2.0.14 onwards require a version of PHP between 5.4 and 7.1. If you use PHP 5.3 or lower, it is necessary to use SMF 2.0.13 or lower. PHP 7.2 is not supported by SMF at this time.

also this topic has come up many times here so a search would have given you the answer as well.