XF 2.3 App.php XF\options error

vtcnc

Member
Any ideas? I updated the app.php per direction from support. While waiting for a reply, I'm wondering if anyone has seen this and can help me understand what is going on here. I'm very much a novice but learning fast. Site has been down for several hours so I'm trying to do what ever I can to get things back to normal.

Screenshot 2024-12-15 at 17-57-23 KnownHost LLC.webp

Backstory:

I've been reg admin for many years, recently having the forum turned over to me now (edit: recently upgraded to superadmin) getting things cleaned up. One of the issues was the license was renewed, so after doing that and upgrading to 2.3, I was confused as I was still getting a notice in the ACP that the license needed to be renewed. Was instructed to replace a couple of files so I did that. Immediately, the site goes down with 500 server error. See screen shot above.
 
Last edited:
It looks like you may have uploaded src/XF/App.php from a newer version than you were running. You can either download and replace the file from the older version instead, or perform a manual upgrade to the latest version.
 
It looks like you may have uploaded src/XF/App.php from a newer version than you were running. You can either download and replace the file from the older version instead, or perform a manual upgrade to the latest version.
I downloaded the same version, 2.3.4. It was supposed to renew the license key, that was it.
 
You might want to double check the version near the top of src/XF.php to confirm. In any case, uploading all the files from XF 2.3.4 should resolve this issue.
 
Oh, that may have already been one of the files you were asked to replace. I would recommend just uploading all the files, as if performing a manual upgrade.
 
I see. Looking at our records the installation may have actually been on 2.3.0 beforehand.

The \XF\Options class was introduced in 2.3.1 so there will be a discrepancy somewhere. Replacing all the files will resolve the discrepancy.
 
Alternatively you might just try replacing those three files with the 2.3.0 versions instead first, just to see if it works. If so, you can likely perform a one-click upgrade to 2.3.4 from the control panel afterwards. And if not, then uploading all the files from 2.3.4 should work.
 
I've just seen your screenshot and I'm seeing public_html/src/ duplicated in the file path. Is it possible the correct location is just /domains/hobby-machinist.com/public_html/src/XF/Options.php?
 
Sometimes when uploading files, especially ones which didn't exist in previous versions, the permissions can wind up different. They look fine in your screenshot though so it's likely something else. If it's not the duplicate path issue in my previous post I'm afraid I'm out of ideas. If you provide server credentials via a ticket someone might be able to take a closer look.
 
Sometimes when uploading files, especially ones which didn't exist in previous versions, the permissions can wind up different. They look fine in your screenshot though so it's likely something else. If it's not the duplicate path issue in my previous post I'm afraid I'm out of ideas. If you provide server credentials via a ticket someone might be able to take a closer look.
I have a ticket open. I'll provide the credentials there. Thanks for your help.
 
Back
Top Bottom