Fixed 2.1.3 Upgrade Failure

MattW

Well-known member
Affected version
2.1.3
Doing the automatic update:

Code:
Error: Call to undefined method XF\Install\Templater::func() src/XF/Install/_templates/PAGE_CONTAINER.php:16
Generated by: Unknown account Jul 16, 2019 at 3:33 PM
Stack trace
#0 src/XF/Install/Templater.php(29): include()
#1 src/XF/Install/_upgrader/core.php(1050): XF\Install\Templater->renderTemplate('PAGE_CONTAINER', Array)
#2 src/XF/Install/_upgrader/core.php(1033): XFUpgraderWeb->outputContainer('
<form action="...')
#3 src/XF/Install/_upgrader/core.php(805): XFUpgraderWeb->outputResult('selfupdate', Array, 0)
#4 install/oc-upgrader.php(14): XFUpgraderWeb->run()
#5 {main}
Request state
array(4) {
  ["url"] => string(24) "/install/oc-upgrader.php"
  ["referrer"] => string(54) "https://mattwservices.co.uk/admin.php?tools/upgrade-xf"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(2) {
    ["_xfToken"] => string(8) "[B]****[/B]"
    ["key"] => string(40) "r3onzZzZLHbl2eg1RT98xqDz-e2y5p_V2_3q6Yxe"
  }
}

File has been updated by the download and the new content is there:

1563288045475.webp

Old version pre-update
1563287973995.webp
 
This is fixed now.

Unfortunately if you already started the one-click upgrade you will need to perform a manual upgrade by uploading the new files (like the old days).
 
Top Bottom