Hi everyone,
I'm in the process of upgrading from SMF 2.0.18(PHP7.4) to 2.1.4(PHP8.3) and ran into an issue.
Here's what I've done so far:
1. First Upgraded from SMF 2.0.18 to SMF 2.0.19 within SMF admin panel.
2. Changed the PHP version from 7.4 to 8.0.
Everything seemed to be working fine, but when I try to access the "
Members → View the Memberlist" menu, I get the following error:
"An Error Has Occurred! array_slice(): Argument #1 ($array) must be of type array, bool given."

All other menu items, including "Members → Search For Members," are working properly.
Before I can proceed with the large upgrade from 2.0.19 to 2.1.0 then move to SMF 2.1.4 / PHP 8.3, I need to resolve this error for SMF2.0.19/PHP8.0.
So, at the moment everything works fine when using PHP 7.4. I also attempted the large upgrade from SMF2.0.19 (PHP8.0) to SMF2.1.0(PHP 8.0), but I'm still getting the same error in the 'Members → View the Memberlist' menu.
If anyone has suggestions or knows how to fix this issue, I'd appreciate your help.
Thanks in advance!
Quote from: vitalog2010 on September 29, 2024, 12:16:45 PM"An Error Has Occurred! array_slice(): Argument #1 ($array) must be of type array, bool given."
Does the error mention a file/location where it's occurring?
Quote from: vitalog2010 on September 29, 2024, 12:16:45 PMBefore I can proceed with the large upgrade from 2.0.19 to 2.1.0 then move to SMF 2.1.4 / PHP 8.3, I need to resolve this error for SMF2.0.19/PHP8.0.
You can skip the 2.10 upgrade and go straight to a 2.1.4. upgrade.
That's probably a mod error. Don't think 2.1.4 supports php 8.3.
Quote from: Doug Heffernan on September 29, 2024, 01:23:23 PMDoes the error mention a file/location where it's occurring?
No.
QuoteThat's probably a mod error. Don't think 2.1.4 supports php 8.3.
At the moment I'm using SMF 2.0.19(PHP8.0) but I can update to SMF 2.1.4 with PHP8.1(for example).
I found a temporary solution:
1. I installed new SMF 2.0.19(php8.0)
2. Removed original database of new installed SMF 2.0.19 and uploaded my own "old" database of SMF 2.0.19.
3. Removed the
smf_settings.sql of my "old" SMF 2.0.19(php8.0) and uploaded the
original SMF 2.0.19(php8.0) smf_settings.sql using PhpMyAdmin, and everything is now working fine.
However, I'm concerned about losing
my previous settings. If I share the code from my SMF 2.0.19 (php8.0) smf_settings.sql file here, would someone be able to identify or fix the issue?
Thanks in advance for your help!