Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: SpacePhoenix on December 28, 2019, 07:58:15 AM

Title: Some bugs with 2.0.16 (Clean install - PHP 7.4)
Post by: SpacePhoenix on December 28, 2019, 07:58:15 AM
Clean install on php 7.4 with strict types enabled and error reporting set to maximum, on http://localhost/smf_2_0_16/install.php?step=5 (the congratulations the installation is complete screen), two occurrences of:
Quote
    Notice: Trying to access array offset on value of type null in C:\wamp64\www\smf_2_0_16\Sources\Subs.php on line 3806
    Call Stack
    #   Time   Memory   Function   Location
    1   0.0003   366536   {main}( )   ...\install.php:0
    2   0.1366   465256   DeleteInstall( )   ...\install.php:138
    3   0.1786   511408   updateStats( )   ...\install.php:1562
    4   0.1788   511408   text2words( )   ...\Subs.php:336

On the post reply screen, 5 occurrences of:
QuoteDeprecated: Array and string offset access syntax with curly braces is deprecated in C:\wamp64\www\smf_2_0_16\Sources\Subs-Editor.php on line 934
    Call Stack
    #   Time   Memory   Function   Location
    1   0.0002   364312   {main}( )   ...\index.php:0
    2   0.0271   685840   Post( )   ...\index.php:183

Just having a play around with the clean install, seems like the second is the most common one, though no on very page

Title: Re: Some bugs with 2.0.16 (Clean install - PHP 7.4)
Post by: vbgamer45 on December 28, 2019, 08:14:09 AM
7.4 is not supported yet for PHP. Works best up to 7.3
There are still issues that to have fixed for 7.4 which will be fixed in 2.0.18