undefined function create_function() in fix_packages.php

Started by @rjen, September 20, 2022, 08:45:15 AM

Previous topic - Next topic

@rjen

Today I tried to use the fix_packages.php tool on a PHP8.1 environment...

I failed miserably with this error:

Fatal error: Uncaught Error: Call to undefined function create_function() in C:\xampp\htdocs\vanilla\fix_packages.php:188 Stack trace: #0 C:\xampp\htdocs\vanilla\fix_packages.php(64): fixp_main() #1 {main} thrown in C:\xampp\htdocs\vanilla\fix_packages.php on line 188

It seems the tool should be brought up to date to work with PHP8.1?
Running SMF 2.1 with latest TinyPortal at www.fjr-club.nl

Diego Andrés


SMF Tricks - Free & Premium Responsive Themes for SMF.

Advertisement: