Simple Machines Community Forum

SMF Support => SMF 2.1.x Support => Topic started by: Juan Carlos on April 12, 2019, 10:34:00 AM

Title: fatal error on upgrade
Post by: Juan Carlos on April 12, 2019, 10:34:00 AM
I try to upgrade from last gh yesterday and I have this error.
I test in two domains with he same response.
No mods installed

Quote
Fatal error: Uncaught ArgumentCountError: Too few arguments to function updateDbLastError(), 0 passed in /homepages/8/d361504127/htdocs/cuatro/foro/upgrade.php on line 345 and exactly 1 expected in /homepages/8/d361504127/htdocs/cuatro/foro/Sources/Subs-Admin.php:442 Stack trace: #0 /homepages/8/d361504127/htdocs/cuatro/foro/upgrade.php(345): updateDbLastError() #1 /homepages/8/d361504127/htdocs/cuatro/foro/upgrade.php(327): upgradeExit() #2 {main} thrown in /homepages/8/d361504127/htdocs/cuatro/foro/Sources/Subs-Admin.php on line 442
Title: Re: fatal error on upgrade
Post by: albertlast on April 12, 2019, 11:04:48 AM
Thanks for testing,
the pr should fix the issue: https://github.com/SimpleMachines/SMF2.1/pull/5595
Title: Re: fatal error on upgrade
Post by: Juan Carlos on April 12, 2019, 11:15:14 AM
Thanks albertlast

Now the upgrade was perfect