News:

Wondering if this will always be free?  See why free is better.

Main Menu

Subs-Timezones.php errors

Started by Shades., August 17, 2021, 04:54:39 PM

Previous topic - Next topic

Shades.

SMF 2.1RC4

I've got 57 Subs-Timezones.php errors after change my timezone in profile:

QuoteType of error
General
Error message
2: array_unique() expects parameter 1 to be array, null given
File
/home2/*****/public_html/somesite/Sources/Subs-Timezones.php
Line
1557
URL of page causing the error
https://somesite.com/index.php?action=profile;area=theme;u=1
Backtrace information
#0: smf_error_handler()
Called from unknown on line -1
#1: array_unique()
Called from /home2/*****/public_html/somesite/Sources/Subs-Timezones.php on line 1557
#2: get_sorted_tzids_for_country()
Called from /home2/*****/public_html/somesite/Sources/Subs.php on line 6045
#3: smf_list_timezones()
Called from /home2/*****/public_html/somesite/Sources/Profile-Modify.php on line 601
#4: loadProfileFields()
Called from /home2/*****/public_html/somesite/Sources/Profile-Modify.php on line 797
#5: saveProfileFields()
Called from /home2/*****/public_html/somesite/Sources/Profile.php on line 725
#6: ModifyProfile()
Called from /home2/*****/public_html/somesite/index.php on line 187

ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

shawnb61

This error was reported previously here:
https://www.simplemachines.org/community/index.php?topic=578191.0
https://github.com/SimpleMachines/SMF2.1/issues/6844


And a fix was merged here:
https://github.com/SimpleMachines/SMF2.1/pull/6845


And that was post RC4, so the fix is now available via downloading current source from GitHub.
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

Shades.

ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Advertisement: