XF 2.3 Site broken after upgrade to XF2.3

slinouille

Member
Hello,

I have upgraded my website from XF2.2 to 2.3 as usual using CLI without any issue.


Code:
php cmd.php xf:upgrade
Current version: 2021672
Upgrade target: 2030070 (2.3.0)
Are you sure you want to continue with the upgrade? [y/n] y

Running upgrade to 2.3.0 Alpha, step 1... done.
Running upgrade to 2.3.0 Alpha, step 2... done.
Running upgrade to 2.3.0 Alpha, step 3... done.
Running upgrade to 2.3.0 Alpha, step 4... done.
Running upgrade to 2.3.0 Alpha, step 5... done.
Running upgrade to 2.3.0 Alpha, step 6... done.
Running upgrade to 2.3.0 Alpha, step 7... done.
Running upgrade to 2.3.0 Alpha, step 8... done.
Running upgrade to 2.3.0 Alpha, step 9... done.
Running upgrade to 2.3.0 Alpha, step 10... done.
Running upgrade to 2.3.0 Alpha, step 11... done.
Running upgrade to 2.3.0 Alpha, step 12... done.
Running upgrade to 2.3.0 Alpha, step 13... done.
Running upgrade to 2.3.0 Alpha, step 14... done.
Running upgrade to 2.3.0 Alpha, step 15... done.
Running upgrade to 2.3.0 Alpha, step 16... done.
Running upgrade to 2.3.0 Alpha, step 17... done.
Running upgrade to 2.3.0 Beta 1, step 1... done.
Running upgrade to 2.3.0 Beta 1, step 2... done.
Running upgrade to 2.3.0 Beta 2, step 1... done.
Running upgrade to 2.3.0 Beta 2, step 2... done.
Running upgrade to 2.3.0 Beta 3, step 1... done.
Running upgrade to 2.3.0 Beta 3, step 2... done.
Running upgrade to 2.3.0 Beta 4, step 1... done.
Running upgrade to 2.3.0 Beta 4, step 2... done.
Running upgrade to 2.3.0 Beta 4, step 3... done.
Running upgrade to 2.3.0 Beta 6, step 1... done.
Running upgrade to 2.3.0 Beta 7, step 1... done.
Running upgrade to 2.3.0 Beta 7, step 2... done.
Running upgrade to 2.3.0 Beta 7, step 3... done.
Running upgrade to 2.3.0 Beta 7, step 4... done.
Running upgrade to 2.3.0 Beta 8, step 1... done.
Running upgrade to 2.3.0 Beta 8, step 2... done.
Running upgrade to 2.3.0 Beta 8, step 3... done.
Running upgrade to 2.3.0 Release Candidate 5, step 1... done.
Running upgrade to 2.3.0 Release Candidate 5, step 2... done.
Running upgrade to 2.3.0 Release Candidate 5, step 3... done.
Running upgrade to 2.3.0, step 1... done.
All upgrade steps run up to version 2.3.0.

Importing... Master data (Phrases)
Importing... Master data (Phrases: 51.7%)
Importing... Master data (Templates)
Importing... Master data (Templates: 12.4%)
Importing... Master data (Templates: 28.5%)
Importing... Master data (Templates: 46.4%)
Importing... Master data (Templates: 67.5%)
Importing... Master data (Templates: 82.8%)
Rebuilding... Phrases .
Rebuilding... Phrases . . . .
Rebuilding... Phrases . . . . . .
Rebuilding... Phrases . . . . . . . .
Rebuilding... Phrases . . . . . . . . . .
Rebuilding... Templates .
Rebuilding... Templates . . .
Rebuilding... Templates . . . . .
Rebuilding... Templates . . . . . . .
Rebuilding... Templates . . . . . . . . . .

Upgrade completed successfully.

The result is the following :

In home page

Code:
An exception occurred: [TypeError] utf8_strtolower(): Argument #1 ($string) must be of type string, null given, called in /var/www/vagtechnique.fr/html/src/addons/Siropu/AdsManagerLite/Util/Arr.php on line 27 in src/utf8.php on line 100

    utf8_strtolower() in src/addons/Siropu/AdsManagerLite/Util/Arr.php at line 27
    Siropu\AdsManagerLite\Util\Arr::getItemArray() in src/addons/Siropu/AdsManagerLite/Entity/Ad.php at line 985
    Siropu\AdsManagerLite\Entity\Ad->getItemId() in src/addons/Siropu/AdsManagerLite/Template/Ad.php at line 485
    Siropu\AdsManagerLite\Template\Ad->prepareAdsForDisplay() in src/addons/Siropu/AdsManagerLite/Template/Ad.php at line 348
    Siropu\AdsManagerLite\Template\Ad->setAds() in src/addons/Siropu/AdsManagerLite/Template/Ad.php at line 339
    Siropu\AdsManagerLite\Template\Ad->__construct() in src/addons/Siropu/AdsManagerLite/Listener.php at line 36
    Siropu\AdsManagerLite\Listener::templaterGlobalData() in src/XF/Extension.php at line 86
    XF\Extension->fire() in src/XF/App.php at line 3319
    XF\App->fire() in src/XF/App.php at line 2479
    XF\App->getGlobalTemplateData() in src/XF/App.php at line 2338
    XF\App->preRender() in src/XF/Pub/App.php at line 495
    XF\Pub\App->preRender() in src/XF/Mvc/Dispatcher.php at line 407
    XF\Mvc\Dispatcher->render() in src/XF/Mvc/Dispatcher.php at line 66
    XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2777
    XF\App->run() in src/XF.php at line 798
    XF::runApp() in index.php at line 23

In admin page :
Code:
An exception occurred: [ErrorException] [E_WARNING] Array to string conversion in src/addons/Nulumia/XFOptimize/XF/Mvc/Renderer/Html.php on line 104

    XF::handlePhpError() in src/addons/Nulumia/XFOptimize/XF/Mvc/Renderer/Html.php at line 104
    Nulumia\XFOptimize\XF\Mvc\Renderer\Html->postFilter() in src/XF/Mvc/Dispatcher.php at line 415
    XF\Mvc\Dispatcher->render() in src/XF/Mvc/Dispatcher.php at line 66
    XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2777
    XF\App->run() in src/XF.php at line 798
    XF::runApp() in admin.php at line 15

Any advice?

Thank you

SliN
 
Solution
Disable the Ads Manager Lite add-on and try again or check if an update is available for compatibility with 2.3
In general, check that your add-ons are compatible with the version of XF you are installing.
Let me tell you what I went through and what I did, bro!

I upgraded from 2.1.6 to 2.3.0. First, I made a full backup without disrupting the forum. Then I removed all plugins. I also removed my licensed theme. Then I deleted FTP completely. I uploaded all folders of 2.3.0 to the main directory and completed the installation. I got the cash error again, I deleted FTP and restored the backup. I reinstalled my cash-related add-ons and made a backup. Then I emptied FTP again. I did a fresh installation and loaded the database and everything is fine. The live update is a bit annoying in this regard, but I hope you will get over it.
 
 
Back
Top Bottom