Try out the XenForo 2.3.8 Preview!

Do you have SSH access?

If so you might want to run a recursive grep like grep -rl "selector" src/addons to find which Add-on might be causing this.
This might return quite a few false positives though.

@Chris D
The error message is not exactly thaat helpful, it therefore might be useful to include option_id in phrase
following_sub_options_unknown_x so the message becomes somt. like



This way it would be easy to identify the Add-on (without searching / guessing).
Ah could actually be a bug. We’ll report back once we’ve had a closer look
 
Tried to upgrade my test board (2.3.7) via php command line and got this error.
#php cmd.php xf:upgrade
PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20250925/imagick.so (/usr/local/lib/php/extensions/no-debug-non-zts-20250925/imagick.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20250925/imagick.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20250925/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Current version: 2030770
Upgrade target: 2030870 (2.3.8 (Preview))
Are you sure you want to continue with the upgrade? [y/n] y

Running upgrade to 2.3.8, step 1... done.
Running upgrade to 2.3.8, step 2... done.
Running upgrade to 2.3.8, step 3... done.
Running upgrade to 2.3.8, step 4...The following sub-option(s) are unknown: selector.
 
Went to upgrade and got this :(
View attachment 332596
Could it be that my PHP version is too old? I'm on 8.3.

Tried to upgrade my test board (2.3.7) via php command line and got this error.
#php cmd.php xf:upgrade
PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20250925/imagick.so (/usr/local/lib/php/extensions/no-debug-non-zts-20250925/imagick.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20250925/imagick.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20250925/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Current version: 2030770
Upgrade target: 2030870 (2.3.8 (Preview))
Are you sure you want to continue with the upgrade? [y/n] y

Running upgrade to 2.3.8, step 1... done.
Running upgrade to 2.3.8, step 2... done.
Running upgrade to 2.3.8, step 3... done.
Running upgrade to 2.3.8, step 4...The following sub-option(s) are unknown: selector.
Please execute this query manually on your database and try the upgrade again:

SQL:
UPDATE `xf_option`
SET
    `sub_options` = 'enabled\nverified\nfailed\ndomain\nprivateKey\nselector'
WHERE
    `option_id` = 'emailDkim';

First post had been modified with this information.
 
I just got done upgrading my site, I did run into my installation being interrupted, but was able to fix it by running the query provided by @Chris D .
UPDATE xf_option SET sub_options = 'enabled\nverified\nfailed\ndomain\nprivateKey\nselector' WHERE option_id = 'emailDkim';
Besides that everything seems to be working great, and not outdated templates either. Great job team!

Carl Weathers Friendship GIF
 
I did the upgrade to a 2.3.7 forum that has about 20 or so addons installed. No errors on the upgrade and have not seen any issues yet. Had to do a few template merges.
 
i have successfully upgraded to 2.3.8 after using @Chris D sql command.
However, I have hundreds of pages of errors showing similar
  • ErrorException: Template error: [E_USER_WARNING] Function xxxxx is unknown
  • src/XF/Template/Templater.php:1205
  • ErrorException: Template error: [E_USER_WARNING] Method xxxx is not callable on the given object (XF\Entity\User)
  • src/XF/Template/Templater.php:1285
So line 1205 and line 1285 are referred to thousands of times. I'm using php 8.5.2 if that makes a difference.
 
So far so good on test forum. Any clues on what issues to look for specifically, or types of addons particularly that may be affected?
 
If so you might want to run a recursive grep like grep -rl "selector" src/addons to find which Add-on might be causing this.
This might return quite a few false positives though.
I ran this, the output I got was this:
Code:
src/addons/XF/hashes.json
src/addons/XF/_data/phrases.xml
src/addons/XF/_data/templates.xml
src/addons/XF/_data/options.xml
src/addons/SV/StandardLib/_data/templates.xml
and I am still getting the exact same error, even with all my addons disabled.
Edit: Just saw the SQL query Chris sent, will test
Edit 2: It worked :)
 
Last edited:
Incidentally, I'm on PHP 8.3.19. There is the option in my server to upgrade to PHP 8.4 - would this be ok or should I wait?
 
Tried in my dev this morning. One template merge, otherwise fine. Will play around but I rarely have issues with patch level upgrades so I am thinking this is good. Might still wait for the final release just to play it safe.
 
Incidentally, I'm on PHP 8.3.19. There is the option in my server to upgrade to PHP 8.4 - would this be ok or should I wait?
From what I've seen there are no changes in the 2.3.8. version that will require php 8.4. only. In other words, it should work fine with php 8.3..
That said, from a secuirty point of view it would be better to upgrade the php.
 
The currently recommend PHP version for XenForo 2.3 is PHP 8.3.

For production use I'd stick to this until a new version is recommend or security support for this PHP version has ended (which is not yet the case for PHP 8.3).
 
Back
Top Bottom