I just registered to say thank you!
I have an older forum that has been left running for a number of years with a small membership, so never really seen the need to upgrade as it just 'works'.
The recent PHP change by my host threw me in the deep end, but now it's back up and running for now.
I now know I have no choice but to look at upgrading it, which is a shame as I like my forum's layout, mods, customization etc:
At least your fix has bought me some time to investigate just how to upgrade 1.1.21 to latest.
I'm just disappointed that I need to upgrade, site's been up for close to 10 years and only now has it 'broken'.
Many thanks for you help.
Also to anyone needing to upgrade to 1.1.21 from an older version, if your admin control panel does not let you upgrade the normal way:
1) Click the normal upgrade link, when you get the errors look at the address bar and you'll see the URL for the .zip file for the 1.1.20/1.1.21 file.
2) Browse to this manually and download the file.
3) You can then manually go to package manager, upload the .zip and apply it without getting the error messages stopping you. Note you may need to rename the zip with something on the end if it says the file already exists. For example I renamed mine from 'smf_patch_1.1.21_2.0.10' to 'smf_patch_1.1.21_2.0.10-2' to then upload and apply it.
One other change to make
In index.php
Find
set_error_handler('error_handler');
Change to
set_error_handler('error_handler',E_ALL & ~E_DEPRECATED & ~E_NOTICE);